quartus-prime-lite: add extraProfile parameter
For customizing /etc/profile in the FHS env.
This commit is contained in:
parent
38225432ee
commit
c189f54eb5
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
, withQuesta ? true
|
||||
, supportedDevices ? [ "Arria II" "Cyclone V" "Cyclone IV" "Cyclone 10 LP" "MAX II/V" "MAX 10 FPGA" ]
|
||||
, unwrapped ? callPackage ./quartus.nix { inherit unstick supportedDevices withQuesta; }
|
||||
, extraProfile ? ""
|
||||
}:
|
||||
|
||||
let
|
||||
|
@ -114,7 +115,7 @@ in buildFHSEnv rec {
|
|||
if [ "$NIXPKGS_IS_QUESTA_WRAPPER" != 1 ]; then
|
||||
export LD_PRELOAD=''${LD_PRELOAD:+$LD_PRELOAD:}/usr/lib/libudev.so.0
|
||||
fi
|
||||
'';
|
||||
'' + extraProfile;
|
||||
|
||||
# Run the wrappers directly, instead of going via bash.
|
||||
runScript = "";
|
||||
|
|
Loading…
Reference in a new issue