Commit eac9d376 authored by Ben Gamari's avatar Ben Gamari 🐢 Committed by Marge Bot

hadrian: Fix build-stack-nix

As noted by #19589, `stack` is not stateful and therefore must be passed
`--nix` on every invocation. Do so.

Fixes #19589.
parent 53cf2c04
Pipeline #33979 canceled with stages
in 32 seconds
......@@ -7,9 +7,9 @@ STACK="${STACK:-stack}"
# Make sure Hadrian is up-to-date
cd hadrian
$STACK build --no-library-profiling ${HADRIAN_NIX:+--nix}
$STACK build --no-library-profiling "${HADRIAN_NIX:+--nix}"
# Run Hadrian in the top-level GHC directory
$STACK exec hadrian -- \
$STACK exec hadrian "${HADRIAN_NIX:+--nix}" -- \
--directory ".." \
"$@"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment