quartus-prime: use buildFHSEnvChroot

Does not work with bubblewrap for some reason
This commit is contained in:
Atemu 2023-04-11 15:44:35 +02:00
parent 7e689a7dd8
commit cae417d315

View File

@ -1,4 +1,4 @@
{ stdenv, lib, buildFHSEnv, callPackage, makeDesktopItem, writeScript
{ stdenv, lib, buildFHSEnvChroot, callPackage, makeDesktopItem, writeScript
, supportedDevices ? [ "Arria II" "Cyclone V" "Cyclone IV" "Cyclone 10 LP" "MAX II/V" "MAX 10 FPGA" ]
, unwrapped ? callPackage ./quartus.nix { inherit supportedDevices; }
}:
@ -13,7 +13,7 @@ let
categories = [ "Development" ];
};
# I think modelsim_ase/linux/vlm checksums itself, so use FHSUserEnv instead of `patchelf`
in buildFHSEnv rec {
in buildFHSEnvChroot rec {
name = "quartus-prime-lite"; # wrapped
targetPkgs = pkgs: with pkgs; [