Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.
I have an integration test for a Haskell project that I run with nix-build -A testFoo, which runs a builder that ensures a nixos vm with postgres is running. Now I was wondering whether it would be sensible to have that vm available for when the cabal2nix generated build runs the tests (so far I just skip the tests if run by cabal). Anyone have any experience with this?
nix-build -A testFoo
I guess this means I would have to wrap the cabal2nix build with a nix expression that I call manually from the dependent project