I don’t understand much about those GHC package IDs issues but I guess it might be the cause here. The typical solution is to do:
~~~~ $ nix-store --delete /nix/store/*-ghc-7.8.4 ~~~~ On Fri, Apr 17, 2015 at 5:44 PM Mads Lindstrøm <mads.lindstr...@gmail.com> wrote: > Hi all, > > When I run: > > > nix-env -f nixpkgs-i -A haskellngPackages.cabal-install > > with nixpkgs at or newer than the commit: > > "commit 945269a48fa8b91024e18a72b485797eeca308ee > Author: Peter Simons <sim...@cryp.to> > Date: Wed Apr 1 14:02:46 2015 +0200 > > haskell-generic-builder: gratuitous cosmetic change to trigger a > complete re-build > > hydra.nixos.org serves broken binaries because of our favorite > non-deterministic > package IDs in GHC bug. :-( Re-building everything from scratch seems > like the > easiest way to recover." > > I get an error: > ... > Dependency ansi-terminal >=0.4.0 && <0.7: using ansi-terminal-0.6.2.1 > Dependency base >=3 && <5: using base-4.7.0.2 > Setup: The following installed packages are broken because other packages > they > depend on are missing. These broken packages must be rebuilt before they > can > be used. > package ansi-terminal-0.6.2.1 is broken due to missing package > base-4.7.0.2-cb23b5265b6e147094c0cd9ac819acb1, > unix-2.7.0.1-d7de2c9293605f58486b3752d772cdb6 > builder for > /nix/store/f6jkyn8ccsf09i9648xq6jm4gs5p6s2r-haskell-ansi-wl-pprint-0.6.7.2.drv > failed with exit code 1 > cannot build derivation > /nix/store/3whjh20qdadfw0n07bhna0fjlmq78jmc-haskell-test-framework-0.8.1.1.drv: > 1 dependencies couldn't be built > cannot build derivation > /nix/store/wpyb7dlbi3a6glyv2npib69330mylfsz-haskell-network-2.6.0.2.drv: 1 > dependencies couldn't be built > cannot build derivation > /nix/store/p0agds79wrzbisxihvyvpfzfcs3h1vik-haskell-parsec-3.1.9.drv: 1 > dependencies couldn't be built > cannot build derivation > /nix/store/kswm7z4bpsi7rp9pws9q7mcdzhngg62y-cabal-install-1.22.2.0.drv: 1 > dependencies couldn't be built > error: build of > /nix/store/kswm7z4bpsi7rp9pws9q7mcdzhngg62y-cabal-install-1.22.2.0.drv > failed > > > What do I do to fix this? > > cat ~/.nixpkgs/config.nix: > > { allowUnfree = true; allowBroken = true; } > > > > Best regards, > > Mads Lindstrøm > _______________________________________________ > 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