Merge pull request #3956 from ip1981/master
Fixed buildLocalCabal by defining temporary $HOME
This commit is contained in:
commit
c8e50e28cd
1 changed files with 1 additions and 0 deletions
|
@ -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/' \
|
||||
|
|
Loading…
Reference in a new issue