[Nix-dev] haskellngPackages.cabal-instal wont install after "haskell-generic-builder: gratuitous ..."

Mads Lindstrøm mads.lindstroem at gmail.com
Fri Apr 17 16:44:12 CEST 2015


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 <simons at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150417/981d378d/attachment.html 


More information about the nix-dev mailing list