Re: [Nix-dev] haskellngPackages.cabal-instal wont install after haskell-generic-builder: gratuitous ...
I’m not sure what it does exactly, but judging from the description in the man page it just calculates the hash and checks that it matches the one in the nix-store’s directory name. So in this case in won’t help as the problem is in the building process, and not in corruption of files in the local store. On Fri, Apr 17, 2015 at 7:26 PM James Cook james.c...@utoronto.ca wrote: Isn't this what nix-env --repair is for? I haven't used it, but that's what I would try first. James On 17 April 2015 at 07:51, Kirill Elagin kirela...@gmail.com wrote: 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 ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] haskellngPackages.cabal-instal wont install after haskell-generic-builder: gratuitous ...
You also have to uninstall everything that may keep ghc from being garbage collected (this means removing any Haskell-related packages from your profiles [and getting rid of other gc roots if you have them]). On Fri, Apr 17, 2015 at 5:51 PM Kirill Elagin kirela...@gmail.com wrote: 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
Re: [Nix-dev] haskellngPackages.cabal-instal wont install after haskell-generic-builder: gratuitous ...
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
Re: [Nix-dev] haskellngPackages.cabal-instal wont install after haskell-generic-builder: gratuitous ...
Isn't this what nix-env --repair is for? I haven't used it, but that's what I would try first. James On 17 April 2015 at 07:51, Kirill Elagin kirela...@gmail.com wrote: 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 ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] haskellngPackages.cabal-instal wont install after haskell-generic-builder: gratuitous ...
Hi Kirill That worked like a charm. Thank you. /Mads 2015-04-17 16:56 GMT+02:00 Kirill Elagin kirela...@gmail.com: You also have to uninstall everything that may keep ghc from being garbage collected (this means removing any Haskell-related packages from your profiles [and getting rid of other gc roots if you have them]). On Fri, Apr 17, 2015 at 5:51 PM Kirill Elagin kirela...@gmail.com wrote: 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