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:
Daiderd Jordan 2019-12-14 18:13:33 +01:00
parent 3fde04a384
commit 3ec36dd667
No known key found for this signature in database
GPG key ID: D02435D05B810C96
2 changed files with 2 additions and 1 deletions

View file

@ -24,6 +24,7 @@ stdenv.mkDerivation {
'';
shellHook = ''
#!${stdenv.shell}
set -e
_PATH=$PATH

View file

@ -22,7 +22,7 @@ stdenv.mkDerivation {
'';
shellHook = ''
#!/usr/bin/env bash
#!${stdenv.shell}
set -e
action=switch