Hi Carlo, can you try running nix-shell with --pure as an addiitional argument? If you don't pass --pure, nix-shell might pick up packages from your user environment.
Benno Carlo Nucera <medit...@gmail.com> schrieb am Mon Dec 01 2014 at 18:59:09: > Hi all, > a couple weeks ago I was trying to package the haskell music-suite for > nix. I stopped for a few weeks to let the mantainer fix some problems > with bounds on dependencies. However, when starting to package again > today, I found an unexpected problem. > > Let's say I'm packaging up music-dynamics-literal, a very simple > package. I add the expression in top-level/haskellPackages, and create > the .nix file with cabal2nix in the right place. > > Then I install the package with > code/nixpkgs $ nix-env -f . -iA haskellPackages.musicDynamicsLiteral > > and the installation succeeds, but I'm not able to import > Music.Dynamics.Literal in ghci. > > I also tried with the command > nix-shell -I nixpkgs=. -p haskellPackages.musicDynamicsLiteral > haskellPackages.ghc > to no avail. > > My nix-env -q contains, among other things: > ghc-7.8.3-wrapper > haskell-music-dynamics-literal-ghc7.8.3-1.8-shared > > And my ghc-pkg list is here: http://lpaste.net/115449 > (I gather that there are broken packages, but I didn't solve the issue > nuking ~/.ghc or ~/.cabal) > > Do you have any pointer? > _______________________________________________ > nix-dev mailing list > nix-dev@lists.science.uu.nl > http://lists.science.uu.nl/mailman/listinfo/nix-dev >
_______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev