-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix nix build #3311
Fix nix build #3311
Conversation
89a6d12
to
dc6dae6
Compare
which we use in our nix config
to allow hydra to access the link
dc6dae6
to
78c5e34
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can confirm that this fixes the evaluation of nix-build -A checks
which before this change reported:
error: undefined variable 'extra'
at /mnt/cephfs/home/dermetfan/projects/development/IOHK/repos/cardano-ledger/nix/util.nix:9:12:
8|
9| inherit (extra)
| ^
10| recRecurseIntoAttrs
The build itself still does not work though, reporting:
error: builder for '/nix/store/zmji7vwzdblg3vy3a1jbvcpn422l9rfc-cardano-ledger-conway-test-test-cardano-ledger-conway-test-1.0.0.0-check.drv' failed with exit code 1;
last 10 log lines:
> Exception: cddl: createProcess: posix_spawnp: does not exist (No such file or directory)
> Use -p '/CDDL roundtrip CostModels/' to rerun this test only.
> CDDL roundtrip Redeemers (ConwayEra StandardCrypto): FAIL
> Exception: cddl: createProcess: posix_spawnp: does not exist (No such file or directory)
> Use -p '/CDDL roundtrip Redeemers (ConwayEra StandardCrypto)/' to rerun this test only.
> CDDL roundtrip AlonzoTx (ConwayEra StandardCrypto): FAIL
> Exception: cddl: createProcess: posix_spawnp: does not exist (No such file or directory)
> Use -p '/CDDL roundtrip AlonzoTx (ConwayEra StandardCrypto)/' to rerun this test only.
>
> 14 out of 17 tests failed (41.89s)
Not sure if that is in the scope of this PR though, so still approving as this does fix the evaluation.
That's interesting, thank you very much for checking @dermetfan . ( I tested with another derivation which worked, rather than all of them.. ) |
This problem was unrelated to the iohk-nix update...rather |
Description
Add your description here, if it fixes a particular issue please provide a
link
to the issue.
Checklist
fourmolu
(usescripts/fourmolize.sh
)scripts/cabal-format.sh
)hie.yaml
has been updated (usescripts/gen-hie.sh
)