Skip to content
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

broken on nixos for a while #16

Open
mingyuguo opened this issue Jan 29, 2021 · 2 comments
Open

broken on nixos for a while #16

mingyuguo opened this issue Jan 29, 2021 · 2 comments

Comments

@mingyuguo
Copy link

mingyuguo commented Jan 29, 2021

I love this lib and have a lot of code written using it. But it has been broken on nixos for a while now.

I understand that it is possible to launch a nix-shell and use old nixpkgs definitions (go back to 2017) to run code. But is there any better way?

In case others also run into this issue:

This is how I launch a nix-shell and go back to 17.09

NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-17.09.tar.gz nix-shell -p "haskellPackages.ghcWithPackages (pkgs: [pkgs.glpk-hs pkgs.statistics pkgs.silently pkgs.random pkgs.pretty-simple pkgs.normaldistribution])"

@jyp
Copy link
Owner

jyp commented Jan 29, 2021

I've just published an update, please check.

@mingyuguo
Copy link
Author

Thanks very much!

(I saw that you uploaded version 0.8 to hackage. I don't know about nixpkgs' update policy. I am assuming at some point it will be picked up. Hope it can be installed like other haskell packages soon.)

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

No branches or pull requests

2 participants