Skip to content

Commit

Permalink
quartus-prime-lite: add extraProfile parameter
Browse files Browse the repository at this point in the history
For customizing /etc/profile in the FHS env.
  • Loading branch information
bjornfor committed Apr 29, 2024
1 parent 3822543 commit c189f54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/applications/editors/quartus-prime/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 = "";
Expand Down

0 comments on commit c189f54

Please sign in to comment.