[Nix-dev] Interaction between overlays and config.nix

Pierre Radermecker pradermecker at yahoo.ca
Tue Apr 11 09:02:35 CEST 2017


Hi,

I have experienced difficulties using the overlays system together with other 'established' practices.

For instance, given such a 'overlays' definition (https://github.com/CIRB/nixpkgs-config/blob/master/overlays/default.nix#L12) (which works perfectly fine),
this other local nix file (https://github.com/Gabriel439/Haskell-Dhall-Bash-Library/blob/master/release.nix#L3)  is going to fail with:

error: attribute ‘dhall-bash’ missing, at /home/vagrant/projects/haskell/Haskell-Dhall-Bash-Library/release.nix:26:18

Somehow it looks like the 'overlays' definition wins in this case, shadowing the local one for haskellPackages ?

As an overlays user, how am I supposed to deal with this ?

Thanks for your help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20170411/8d0d2c8c/attachment-0001.html>


More information about the nix-dev mailing list