Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b40e1efe000ec5c4616cecc9d6836eade419434e
      
https://github.com/NixOS/nixpkgs/commit/b40e1efe000ec5c4616cecc9d6836eade419434e
  Author: Michael Alan Dorman <mdor...@ironicdesign.com>
  Date:   2016-06-13 (Mon, 13 Jun 2016)

  Changed paths:
    M pkgs/development/haskell-modules/generic-builder.nix

  Log Message:
  -----------
  haskell generic-builder: don't propagate setupHaskellDepends

Without this patch, attempts to install at least some of the packages
that start to use setupHaskellDepends (mostly gtk-related packages)
results in collisions:

    building path(s) ‘/nix/store/63k5smns43f5r2ad8wcc242x0gwd70m3-ghc-8.0.1’
    collision between 
`/nix/store/k18i1nm5hgnb82y9w2g9hmlwhk3szjld-ghc-8.0.1/lib/ghc-8.0.1/Cabal-1.24.0.0/Distribution/Compat/Binary.dyn_hi'
 and 
`/nix/store/0rwhbwsg9kmywgbrib2bs29p2hmi80za-Cabal-1.24.0.0/lib/ghc-8.0.1/Cabal-1.24.0.0/Distribution/Compat/Binary.dyn_hi'
    builder for ‘/nix/store/vrjkfpm8sb96m9i5k74h8vn0rwddgy4v-ghc-8.0.1.drv’ 
failed with exit code 25

This would appear to me to be a consequence of setupHaskellDepends
entries being added to propagateBuildInputs.  It is sufficient in the
cases I'm familiar with (taffyBar), and I think correct, to simply add
it to the otherBuildInputs.


_______________________________________________
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to