diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2022-07-14 16:15:37 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2022-07-14 16:15:37 -0400 |
commit | 6cafe308c946af7658514ad0e6970cc464554fbb (patch) | |
tree | 9354e960015fda89087f15808e6573b5ae39e025 /tests/fmt.sh | |
parent | b585548dfee1bf12c63894c751f1449636e32565 (diff) | |
parent | ca4d5bee09df0393dd525b3cd5159a23d4683f2e (diff) |
Merge remote-tracking branch 'upstream/master' into indexed-store-path-outputs
Diffstat (limited to 'tests/fmt.sh')
-rw-r--r-- | tests/fmt.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/fmt.sh b/tests/fmt.sh index bc05118ff..254681ca2 100644 --- a/tests/fmt.sh +++ b/tests/fmt.sh @@ -18,7 +18,12 @@ cat << EOF > flake.nix with import ./config.nix; mkDerivation { name = "formatter"; - buildCommand = "mkdir -p \$out/bin; cp \${./fmt.simple.sh} \$out/bin/formatter"; + buildCommand = '' + mkdir -p \$out/bin + echo "#! ${shell}" > \$out/bin/formatter + cat \${./fmt.simple.sh} >> \$out/bin/formatter + chmod +x \$out/bin/formatter + ''; }; }; } |