summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorFrederik Rietdijk <freddyrietdijk@fridh.nl>2019-01-19 14:15:51 +0100
committerGitHub <noreply@github.com>2019-01-19 14:15:51 +0100
commitd531da6f8ae7a8dab806bcd3211cd84d2d189d24 (patch)
tree5b4c5b9e34d2e1bfd02fb8ff26db876806007edc /pkgs/applications/editors
parent4eca960cb4ed5e68b93d112fd90623a5a2bae433 (diff)
parentbcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183 (diff)
downloadnixpkgs-d531da6f8ae7a8dab806bcd3211cd84d2d189d24.tar
nixpkgs-d531da6f8ae7a8dab806bcd3211cd84d2d189d24.tar.gz
nixpkgs-d531da6f8ae7a8dab806bcd3211cd84d2d189d24.tar.bz2
nixpkgs-d531da6f8ae7a8dab806bcd3211cd84d2d189d24.tar.lz
nixpkgs-d531da6f8ae7a8dab806bcd3211cd84d2d189d24.tar.xz
nixpkgs-d531da6f8ae7a8dab806bcd3211cd84d2d189d24.tar.zst
nixpkgs-d531da6f8ae7a8dab806bcd3211cd84d2d189d24.zip
Merge pull request #54094 from rnhmjoj/shell
treewide: use ${stdenv.shell} instead of /bin/sh where possible
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/standardnotes/default.nix2
-rw-r--r--pkgs/applications/editors/sublime/3/common.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/editors/standardnotes/default.nix b/pkgs/applications/editors/standardnotes/default.nix
index d9bca530948..0787250fece 100644
--- a/pkgs/applications/editors/standardnotes/default.nix
+++ b/pkgs/applications/editors/standardnotes/default.nix
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
   installPhase = ''
     mkdir -p $out/{bin,share}
     cp $src $out/share/standardNotes.AppImage
-    echo "#!/bin/sh" > $out/bin/standardnotes
+    echo "#!${stdenv.shell}" > $out/bin/standardnotes
     echo "${appimage-run}/bin/appimage-run $out/share/standardNotes.AppImage" >> $out/bin/standardnotes
     chmod +x $out/bin/standardnotes $out/share/standardNotes.AppImage
   '';
diff --git a/pkgs/applications/editors/sublime/3/common.nix b/pkgs/applications/editors/sublime/3/common.nix
index cf6802eb9a9..71bd3544feb 100644
--- a/pkgs/applications/editors/sublime/3/common.nix
+++ b/pkgs/applications/editors/sublime/3/common.nix
@@ -115,7 +115,7 @@ in stdenv.mkDerivation (rec {
     mkdir -p $out/bin
 
     cat > $out/bin/subl <<-EOF
-    #!/bin/sh
+    #!${stdenv.shell}
     exec $sublime/sublime_text "\$@"
     EOF
     chmod +x $out/bin/subl