Skip to content

Commit 55f3df7

Browse files
committed
Fix #1600: add end-2-end test of hix project initialization and flakes development shell
1 parent bc1de42 commit 55f3df7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.buildkite/pipeline.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,14 @@ steps:
5050
- nix-instantiate release.nix -A required-unstable-ghc8107-x86_64-darwin-native --show-trace --builders ''
5151
agents:
5252
system: x86_64-linux
53+
54+
- label: 'End-2-end test of hix project initialization and flakes development shell'
55+
command:
56+
- HASKELL_NIX=$(pwd)
57+
- cd $(mktemp -d)
58+
- nix-shell -p cabal-install --run "cabal update; cabal unpack hello"
59+
- cd hello-*
60+
- nix run $HASKELL_NIX#hix -- init
61+
- nix develop --override-input haskellNix $HASKELL_NIX -c "cabal build"
62+
agents:
63+
system: x86_64-linux

0 commit comments

Comments
 (0)