git.iko.soy/typeable/cabal2nix
on master help sign in
update-nixpkgs.sh: run hackage2nix with a 6GB upper limit on memory consumption

This protects us from thrashing the machine in case Cabal's resolver goes crazy because of a change in the Hackage database.

commitad7117d7a4de59634cd481301306a477a2b1e844 authorPeter Simons <simons@cryp.to> dateFri 13 Nov 2015, 12:20 (11 years ago) parentbc0a174
1 file changed+1−1
hackage2nix/update-nixpkgs.sh+1−1
hackage2nix/update-nixpkgs.sh+1−1
@@ -49,7 +49,7 @@ hackage=$(git rev-parse --verify HEAD)
4949cd ..
5050
5151stack --verbosity 0 build --test hackage2nix
52−stack --verbosity 0 exec hackage2nix -- --nixpkgs=$PWD/nixpkgs
52+stack --verbosity 0 exec hackage2nix -- --nixpkgs="$PWD/nixpkgs" +RTS -M6G -RTS
5353
5454cd nixpkgs
5555git add pkgs/development/haskell-modules