Merge pull request #3956 from ip1981/master

Fixed buildLocalCabal by defining temporary $HOME
This commit is contained in:
Peter Simons 2014-09-04 15:03:02 +02:00
commit c8e50e28cd

View file

@ -3033,6 +3033,7 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
name = "${name}.nix";
buildCommand = ''
export HOME="$TMPDIR"
${self.cabal2nix}/bin/cabal2nix ${src + "/${name}.cabal"} --sha256=FILTERME \
| grep -v FILTERME | sed \
-e 's/licenses.proprietary/licenses.unfree/' \