treewide: use ${stdenv.shell} instead of /bin/sh where possible

This commit is contained in:
rnhmjoj
2019-01-16 20:37:15 +01:00
parent 3956a8421f
commit bcf54ce5bb
92 changed files with 156 additions and 120 deletions
@@ -1,4 +1,5 @@
{ stdenv, fetchurl, lib, makeWrapper
, substituteAll
, jre
, gtk2, glib
, libXtst
@@ -21,7 +22,10 @@ stdenv.mkDerivation rec {
buildCommand = let
pkg_path = "$out/${name}";
bin_path = "$out/bin";
install_freedesktop_items = ./install_freedesktop_items.sh;
install_freedesktop_items = substituteAll {
inherit (stdenv) shell;
src = ./install_freedesktop_items.sh;
};
runtime_paths = lib.makeBinPath [
jre
#git mercurial subversion # the paths are requested in configuration
@@ -1,4 +1,4 @@
#!/bin/sh
#!@shell@
inBinDir=$1
out=$2