Skip to content
This repository has been archived by the owner on Aug 2, 2020. It is now read-only.

nix.shell: can't build happy #609

Closed
sgillespie opened this issue Jun 6, 2018 · 4 comments
Closed

nix.shell: can't build happy #609

sgillespie opened this issue Jun 6, 2018 · 4 comments

Comments

@sgillespie
Copy link
Contributor

sgillespie commented Jun 6, 2018

I'm running NixOS, and I'm running nix-shell from ghc/hadrian:

Linking dist/build/happy/happy ...
haddockPhase
installing
: getDirectoryContents:openDirStream: does not exist (No such file or directory)
builder for '/nix/store/mqfjgf36rpzxmc7142nsh8h0lrfxpglj-happy-1.19.8.drv' failed with exit code 1
cannot build derivation '/nix/store/lllrigz3fby0pbf01lakmzgz5y057xxf-hadrian-0.1.0.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/lllrigz3fby0pbf01lakmzgz5y057xxf-hadrian-0.1.0.0.drv' failed

Any idea what to do here or how to get more information?

@snowleopard
Copy link
Owner

@sgillespie Thanks for reporting! I'm not a nix user myself, but let's ping @mpickering and @angerman who regularly commit to shell.nix.

@mpickering
Copy link
Contributor

It's not clear what is happening here but @bgamari also ran into this same issue. I ran into it trying to build a different haskell project with HEAD.

@mpickering
Copy link
Contributor

See haskell/cabal#5318

@sgillespie
Copy link
Contributor Author

This resolved it for me:

https://git.haskell.org/ghc.git/commitdiff/14f4347c28a2d8d45e795fd01bc0e547fe8738e6

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants