We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51d627e commit 2ad6416Copy full SHA for 2ad6416
test/tests.sh
@@ -96,11 +96,12 @@ fi
96
97
if [ "$TESTS" == "multi-target" ] || [ "$TESTS" == "all" ]; then
98
printf "*** Checking that a nix-shell works for a multi-target project...\n" >& 2
99
+ TEST_CABAL_DIR=$(mktemp -d)
100
nix-shell $NIX_BUILD_ARGS \
101
--pure ./default.nix \
102
--argstr compiler-nix-name "$GHC" \
103
-A cabal-simple.test-shell \
- --run 'cd cabal-simple && CABAL_DIR=$(mktemp -d) cabal new-build'
104
+ --run "cd cabal-simple && CABAL_DIR=$TEST_CABAL_DIR cabal update && CABAL_DIR=$TEST_CABAL_DIR cabal build"
105
echo >& 2
106
fi
107
0 commit comments