summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-07-11 11:45:23 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2018-08-11 22:54:48 -0500
commitc391bd3dd31cec6662995bfe6cea7a36fa3e0b5a (patch)
tree76099224fcd9d1b5575994f73fd492cd641e7cb2
parent8fba05403ae6c34790179dc10fe048e67a40e243 (diff)
downloadnixlib-c391bd3dd31cec6662995bfe6cea7a36fa3e0b5a.tar
nixlib-c391bd3dd31cec6662995bfe6cea7a36fa3e0b5a.tar.gz
nixlib-c391bd3dd31cec6662995bfe6cea7a36fa3e0b5a.tar.bz2
nixlib-c391bd3dd31cec6662995bfe6cea7a36fa3e0b5a.tar.lz
nixlib-c391bd3dd31cec6662995bfe6cea7a36fa3e0b5a.tar.xz
nixlib-c391bd3dd31cec6662995bfe6cea7a36fa3e0b5a.tar.zst
nixlib-c391bd3dd31cec6662995bfe6cea7a36fa3e0b5a.zip
xcbuild: cleanup
fix shell shebang
-rw-r--r--pkgs/development/tools/xcbuild/wrapper.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/development/tools/xcbuild/wrapper.nix b/pkgs/development/tools/xcbuild/wrapper.nix
index d2044ea40ad2..1735124439e7 100644
--- a/pkgs/development/tools/xcbuild/wrapper.nix
+++ b/pkgs/development/tools/xcbuild/wrapper.nix
@@ -1,5 +1,4 @@
 { stdenv, lib, buildPackages, makeWrapper, writeText, runCommand
-, bash
 , CoreServices, ImageIO, CoreGraphics
 , targetPlatform
 , xcodePlatform ? targetPlatform.xcodePlatform or "MacOSX"
@@ -37,7 +36,7 @@ let
   '';
 
   xcode-select = writeText "xcode-select" ''
-#!${bash}/bin/sh
+#!${stdenv.shell}
 while [ $# -gt 0 ]; do
    case "$1" in
          -h | --help) ;; # noop
@@ -52,7 +51,7 @@ done
   '';
 
   xcrun = writeText "xcrun" ''
-#!${bash}/bin/sh
+#!${stdenv.shell}
 while [ $# -gt 0 ]; do
    case "$1" in
          --sdk | -sdk) shift ;;