exec: Abort on error
We need exit on the first error, as otherwise we cannot track a bad execution when no exec is done (when post is not empty).
This commit is contained in:
parent
5c2bd13c3d
commit
130fe39c8e
@ -25,7 +25,7 @@ stdenv.mkDerivation {
|
||||
phases = [ "installPhase" ];
|
||||
installPhase = ''
|
||||
cat > $out <<'EOF'
|
||||
#!/bin/sh
|
||||
#!/bin/sh -e
|
||||
${env}
|
||||
|
||||
''+pre+''
|
||||
|
Loading…
Reference in New Issue
Block a user