nixfmt-rfc-style
There is nothing in this commit except for the changes made by nix-shell -p nixfmt-rfc-style --run "nixfmt ." If this has mucked up your open branches then sorry about that. You can probably nixfmt them to match before merging
This commit is contained in:
@@ -1,13 +1,18 @@
|
||||
{
|
||||
writeScriptBin
|
||||
, lib
|
||||
}
|
||||
: name : { runtimeInputs ? [] } : text : writeScriptBin name ''
|
||||
#!/bin/sh
|
||||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
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}
|
||||
export PATH="${lib.makeBinPath runtimeInputs}:$PATH"
|
||||
${text}
|
||||
''
|
||||
|
Reference in New Issue
Block a user