summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2023-10-06 17:02:25 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2023-10-13 17:21:42 +0200
commit99476c1ec39eaa0933c14fe82ec1f63e31f4c9f1 (patch)
tree3675b64f9111c10375ab6895233bc71187262f8a /pkgs/applications/editors
parent215bb7095212c76f61958e8c4f16ec3852de890d (diff)
downloadnixpkgs-99476c1ec39eaa0933c14fe82ec1f63e31f4c9f1.tar
nixpkgs-99476c1ec39eaa0933c14fe82ec1f63e31f4c9f1.tar.gz
nixpkgs-99476c1ec39eaa0933c14fe82ec1f63e31f4c9f1.tar.bz2
nixpkgs-99476c1ec39eaa0933c14fe82ec1f63e31f4c9f1.tar.lz
nixpkgs-99476c1ec39eaa0933c14fe82ec1f63e31f4c9f1.tar.xz
nixpkgs-99476c1ec39eaa0933c14fe82ec1f63e31f4c9f1.tar.zst
nixpkgs-99476c1ec39eaa0933c14fe82ec1f63e31f4c9f1.zip
quartus-prime-lite: use runtimeShell in wrappers
stdenv.shell is a shell for building, runtimeShell is for running, so
the latter should be used in wrappers. (The distinction only matters
when cross-compiling.)
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/quartus-prime/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/editors/quartus-prime/default.nix b/pkgs/applications/editors/quartus-prime/default.nix
index c55603b3c21..d68925e752f 100644
--- a/pkgs/applications/editors/quartus-prime/default.nix
+++ b/pkgs/applications/editors/quartus-prime/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, buildFHSEnv, callPackage, makeDesktopItem, writeScript
+{ lib, buildFHSEnv, callPackage, makeDesktopItem, writeScript, runtimeShell
 , runCommand, quartus-prime-lite
 , supportedDevices ? [ "Arria II" "Cyclone V" "Cyclone IV" "Cyclone 10 LP" "MAX II/V" "MAX 10 FPGA" ]
 , unwrapped ? callPackage ./quartus.nix { inherit supportedDevices; }
@@ -77,7 +77,7 @@ in buildFHSEnv rec {
         wrapped="$out/$relname"
         progs_wrapped+=("$wrapped")
         mkdir -p "$(dirname "$wrapped")"
-        echo "#!${stdenv.shell}" >> "$wrapped"
+        echo "#!${runtimeShell}" >> "$wrapped"
         case "$relname" in
             modelsim_ase/*)
                 echo "export NIXPKGS_IS_MODELSIM_WRAPPER=1" >> "$wrapped"