add writeAshScriptBin (forgot to add file)
This commit is contained in:
parent
adc84108ad
commit
9540fc2641
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
writeScriptBin
|
||||||
|
, lib
|
||||||
|
}
|
||||||
|
: name : { runtimeInputs ? [] } : text : writeScriptBin name ''
|
||||||
|
#!/bin/sh
|
||||||
|
set -o errexit
|
||||||
|
set -o nounset
|
||||||
|
set -o pipefail
|
||||||
|
|
||||||
|
export PATH="${lib.makeBinPath runtimeInputs}:$PATH"
|
||||||
|
${text}
|
||||||
|
''
|
Loading…
Reference in New Issue