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.
2 parents 8eeaa1e + 58c43a1 commit 2849b03Copy full SHA for 2849b03
test/tests.sh
@@ -149,4 +149,13 @@ nix build $NIX_BUILD_ARGS --no-link \
149
extra-hackage.run.project.hsPkgs.external-package-user.components.exes.external-package-user
150
echo >& 2
151
152
+printf "*** End-2-end test of hix project initialization and flakes development shell ...\n" >& 2
153
+HASKELL_NIX=$(pwd)/..
154
+cd $(mktemp -d)
155
+nix-shell -p cabal-install --run "cabal update; cabal unpack hello"
156
+cd hello-*
157
+nix run $HASKELL_NIX#hix -- init
158
+nix develop --override-input haskellNix $HASKELL_NIX -c "cabal build"
159
+echo >& 2
160
+
161
printf "\n*** Finished successfully\n" >& 2
0 commit comments