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
hackage2nix can't be installed, unable to use ./update-nixpkgs.sh #443
Comments
Please check out https://www.youtube.com/watch?v=qX0mgtSm360. The video has detailed instructions. |
https://nixos.org/nixpkgs/manual/ it'd be nice if the manual or the instructions in the readme the manual points to actually worked or at least linked to the video that is not easy to discover (and which is difficult to follow by the very nature of being a video) |
Well, https://github.com/NixOS/cabal2nix/tree/master/hackage2nix does link to the video. Anyhow, I'm sure the documentation can be improved a lot and I'd be happy to accept any PRs to that extend. |
oh, so it does, my bad |
I tried following the instructions here (I am on nixos-unstable/nixpkgs master) https://github.com/NixOS/cabal2nix/tree/master/hackage2nix and it errors.
cabal install
fails, too.output of ./update-nixpkgs.sh
at first I couldn't fix it how I normally do with a shell.nix that brings in zlib. When I did it then failed with hpack errors etc... anyway, I finally got it while typing up this issue!
it may have more or less packages than it should... but with this I was able to run ./update-nixpkgs.sh and
cabal configure
,cabal build
,cabal test
. and a few of the new-* and as seen aboveupdate-nixpkgs.sh
uses new-runShould I make a PR that adds this or something like it and updates the readme or? I could also change it to ghcWithHoogle to make development easier... anyway, hope this helps someone.
The text was updated successfully, but these errors were encountered: