mlabs-haskell / ogmios

❇️ A WebSocket JSON/RPC bridge for Cardano
https://ogmios.dev
Mozilla Public License 2.0
2 stars 3 forks source link

`ogmios:test:unit` succeeds with Cabal, fails with Nix #8

Closed ngua closed 2 years ago

ngua commented 2 years ago

nix develop -c cabal test ogmios:test:unit passes, but building the ogmios check output (builds and runs the test without directly calling Cabal) fails:

error: builder for '/nix/store/...-ogmios-test-unit-4.2.1-check.drv' failed with exit code 1;
       last 5 log lines:
       > unpacking sources
       > unpacking source archive /nix/store/...-ogmios-test-unit-4.2.1
       > source root is ogmios-test-unit-4.2.1
       > building
       > unit: /build/real-src/server/test/golden/RequestNextResponse_1.json: openBinaryFile: does not exist (No such file or directory)