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
|
#!/bin/sh -e
|
||||||
${env}
|
${env}
|
||||||
|
|
||||||
''+pre+''
|
${pre}
|
||||||
|
|
||||||
${execMethod}${nixPrefix}${stageProgram nextStage} ${argvString}
|
${execMethod}${nixPrefix}${stageProgram nextStage} ${argvString}
|
||||||
''+post+''
|
|
||||||
|
${post}
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
chmod +x $out
|
chmod +x $out
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user