Skip to content

Commit 2849b03

Browse files
Try #1601:
2 parents 8eeaa1e + 58c43a1 commit 2849b03

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/tests.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,4 +149,13 @@ nix build $NIX_BUILD_ARGS --no-link \
149149
extra-hackage.run.project.hsPkgs.external-package-user.components.exes.external-package-user
150150
echo >& 2
151151

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+
152161
printf "\n*** Finished successfully\n" >& 2

0 commit comments

Comments
 (0)