Fix AppVeyor (#577)
[hadrian.git] / build.stack.sh
index b5607b1..2b1ff1d 100755 (executable)
@@ -31,10 +31,9 @@ function rl {
 absoluteRoot="$(dirname "$(rl "$0")")"
 cd "$absoluteRoot"
 
-stack build --no-library-profiling
+stack build --no-library-profiling ${HADRIAN_NIX:+--nix}
 
 stack exec hadrian --              \
     --lint                         \
     --directory "$absoluteRoot/.." \
-    --colour                       \
     "$@"