Commit db07a90a authored by Vaibhav Sagar's avatar Vaibhav Sagar

release.nix: simplify setting $HOME in preCheck

parent afa0de07
......@@ -33,7 +33,7 @@ let
ihaskell = nixpkgs.haskell.lib.overrideCabal (
self.callCabal2nix "ihaskell" ihaskell-src {}) (_drv: {
preCheck = ''
export HOME=$(${nixpkgs.pkgs.coreutils}/bin/mktemp -d)
export HOME=$TMPDIR/home
export PATH=$PWD/dist/build/ihaskell:$PATH
export GHC_PACKAGE_PATH=$PWD/dist/package.conf.inplace/:$GHC_PACKAGE_PATH
'';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment