reproduce.tt: Wrap script to prevent problems piping into bash
This commit is contained in:
parent
c32a244bd7
commit
ff8cb93fe7
1 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
#! /usr/bin/env bash
|
#! /usr/bin/env bash
|
||||||
|
|
||||||
|
main() {
|
||||||
|
|
||||||
# This script has been generated automatically by Hydra from the build
|
# This script has been generated automatically by Hydra from the build
|
||||||
# at [% c.uri_for('/build' build.id) %].
|
# at [% c.uri_for('/build' build.id) %].
|
||||||
|
|
||||||
|
@ -211,3 +213,7 @@ info "running nix-build..."
|
||||||
echo "using these flags: ${args[@]}" >&2
|
echo "using these flags: ${args[@]}" >&2
|
||||||
|
|
||||||
exec nix-build "${args[@]}" "${extraArgs[@]}"
|
exec nix-build "${args[@]}" "${extraArgs[@]}"
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
main
|
||||||
|
|
Loading…
Reference in a new issue