Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: fac1168816a132694a3f21f2e00654f69ab44e5f
https://github.com/NixOS/nixpkgs/commit/fac1168816a132694a3f21f2e00654f69ab44e5f
Author: Peter Simons <[email protected]>
Date: 2016-11-01 (Tue, 01 Nov 2016)
Changed paths:
A pkgs/data/misc/hackage/default.nix
M pkgs/development/haskell-modules/default.nix
M pkgs/top-level/all-packages.nix
Log Message:
-----------
callHackage: make 'all-cabal-hashes' repository overridable
This commit changes callHackage to use a deterministic version of the Hackage
checkout from https://github.com/commercialhaskell/all-cabal-hashes by default.
This means that packages uploaded to Hackage after today will be available to
callHackage only after "pkgs/data/misc/hackage/default.nix" has been updated.
People who want the previous behavior where we always had the latest version of
Hackage available -- at the cost of frequent downloads from Github --, can add
the following override to their "~/.nixpkgs/config.nix" file:
{
packageOverrides = super: {
all-cabal-hashes = builtins.fetchTarball
"https://github.com/commercialhaskell/all-cabal-hashes/archive/hackage.tar.gz";
};
}
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits