-
Notifications
You must be signed in to change notification settings - Fork 6
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
Nix packages broken #25
Comments
Thanks, I'm happy to discuss this here, as I do sometimes use Nix*, so I'd like it not to be broken. There's probably some way in which Nix's sandboxing messes up the environment for this test. Would you be interested in investigating further? * in fact, I'm currently exploring using it (albeit via Haskell.Nix) for a project of mine which depends on |
FWIW, I've migrated to flakes, but the issue manifests in much the same way:
|
We might just have to disable that test in certain environments. |
Sorry for the late reply. Yes I'm willing to investigate further but I see you've already made some progress. Thanks for being so responsive! |
Well, all I've done is confirm I can reproduce the issue. And unfortunately that's as much as I see myself getting round to in the immediate future. Would be great if you're able to debug it! |
This is really my first time playing around with Nix, but I'll try. Well, according to Hydra the build began failing with evdev-2.1.0. I used a tool to find old revision strings of evdev in nixpkgs-unstable. The most recent is labeled as version 2.1.0, it does indeed fail:
gives
Meanwhile the next most recent is labeled as version 2.0.0.1. Trying it in the terminal
works (ignore the --pure, I have to add it because of a quirk with my system, it doesn't affect the success of the build). So it looks like the problem was introduced with version 2.1.0. Though if we toss in dependency on evdev-streamly
It quits working again, this time because of an error message involving This is about as far as I know to go. I mean, line 23 of Test.hs includes a test called That smoke test was added in this commit. Which was on Feb 11, 2021, so our successful revision string was before the smoke test was added (only by three days though). |
As it happens, I also maintain It would be interesting to know why exactly the test fails. But a more expedient solution would be to patch the Nix derivation for |
This has been fixed in Nixpkgs. |
If you have Nix installed and run
It should give a message about broken packages.
If you do
It will try to go ahead with the build but will fail on a test
This may not be the correct place to post about such a problem. If so, I apologize, what would be a better place?
The text was updated successfully, but these errors were encountered: