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