Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b59b89d9e38805250dedbd0da8589f6835ecb728
      
https://github.com/NixOS/nixpkgs/commit/b59b89d9e38805250dedbd0da8589f6835ecb728
  Author: Peter Simons <sim...@cryp.to>
  Date:   2016-10-08 (Sat, 08 Oct 2016)

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

  Log Message:
  -----------
  Revert "Extend Haskell generic builder to use new --ipid flag."

This reverts commit ec8b81615462625338d76f002d92accd6eb4cf6a. The change told
the Cabal build system to use the hash-part of $out as the internal identifier
for the library it's building (rather than generating such an ID itself). While
a good idea in theory, this choice had an unfortunate side-effect: When Cabal
links libraries X, Y, and Z into an executable, then the generated binary
contains their respective IDs. Now, Nix finds those strings and treats them as
an indication that there is a *run-time dependency* on the corresponding store
paths. This means that the generated executable will always depend on the store
paths of all the Haskell libraries that went into it, even when linked
statically.


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

Reply via email to