haskell-nix
haskell-nix copied to clipboard
Failing: nix-build --attr project1 release2.nix
Hi,
I was following along on this page: https://github.com/Gabriel439/haskell-nix/tree/master/project1
The above nix-build command has failed.
Even nix-build --attr project1 release3.nix
is failing due to process pkg.
I tried using different versions 1.4*, 1.3, taking cue from the other
I am on ubuntu (16.04), Nix(1.11.16), Failing on Nix(2.0) too.
Pasting below the log:
Setup: Encountered missing dependencies: QuickCheck ==2.8.*, process >=1.0 && <1.5 builder for ‘/nix/store/nkgwmcc89hqa5qys16s2vk1xf82381f7-optparse-applicative-0.13.0.0.drv’ failed with exit code 1 cannot build derivation ‘/nix/store/kalxz4kz5n541gvpqqpidpdj6majn5lj-turtle-1.3.2.drv’: 1 dependencies couldn't be built cannot build derivation ‘/nix/store/c308453anpfgsq9ka87m4wvwmgbvnyan-project1-1.0.0.drv’: 1 dependencies couldn't be built error: build of ‘/nix/store/c308453anpfgsq9ka87m4wvwmgbvnyan-project1-1.0.0.drv’ failed
I got it working by using:
- optparse-applicative-0.14.0.0
- turtle-1.5.4
It is working for both release2.nix and release3.nix
So, looking at this more closely, I think this example will be pretty high-maintenance to keep up to date as packages change over time. How about I put an advisory at the beginning of the section that the examples may not build but that they might still illustrate general concepts?