darwin-installer: add missing shebang
Unclear in which conditions this does or doesn't work but using a shebang is best practice and ensures an ancient version of bash isn't used. Fixes #179
This commit is contained in:
parent
3fde04a384
commit
3ec36dd667
2 changed files with 2 additions and 1 deletions
|
|
@ -24,6 +24,7 @@ stdenv.mkDerivation {
|
|||
'';
|
||||
|
||||
shellHook = ''
|
||||
#!${stdenv.shell}
|
||||
set -e
|
||||
|
||||
_PATH=$PATH
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ stdenv.mkDerivation {
|
|||
'';
|
||||
|
||||
shellHook = ''
|
||||
#!/usr/bin/env bash
|
||||
#!${stdenv.shell}
|
||||
set -e
|
||||
|
||||
action=switch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue