exec: Force newlines
Allow single line commands like pre="true"
This commit is contained in:
parent
130fe39c8e
commit
aeac1a6068
@ -28,9 +28,12 @@ stdenv.mkDerivation {
|
||||
#!/bin/sh -e
|
||||
${env}
|
||||
|
||||
''+pre+''
|
||||
${pre}
|
||||
|
||||
${execMethod}${nixPrefix}${stageProgram nextStage} ${argvString}
|
||||
''+post+''
|
||||
|
||||
${post}
|
||||
|
||||
EOF
|
||||
chmod +x $out
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user