typeable / nixpkgs-stackage

Stackage overlay for Nixpkgs
25 stars 13 forks source link

fix import purity #29

Closed zimbatm closed 6 years ago

zimbatm commented 6 years ago

avoid depending on NIX_PATH, it makes it hard to pin the nixpkgs version

rg '<nixpkgs/' | cat | cut -d ':' -f 1 | xargs -n1 -- sed -e 's|<nixpkgs/\(.*\)>|(pkgs.path + "/\1")|g' -i

Related to https://github.com/typeable/stackage2nix/pull/54

zimbatm commented 6 years ago

This might also fix #5 although I didn't look at the details of the issue.

4e6 commented 6 years ago

I apologize for the late response. Didn't have time initially and then completely forgot about it.

Everything looks good, thank you!