python.pkgs.bash_kernel: use TMPDIR as HOME

This commit is contained in:
Robin Gloster 2017-12-25 19:42:43 +01:00
parent c4036762b2
commit 8fb981fef6
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF

View File

@ -7,6 +7,7 @@
, python
, pexpect
}:
buildPythonPackage rec {
pname = "bash_kernel";
version = "0.7.1";
@ -28,11 +29,11 @@ buildPythonPackage rec {
propagatedBuildInputs = [ ipykernel pexpect ];
# no tests
doCheck = false;
preBuild = ''
mkdir tmp
export HOME=$PWD/tmp
export HOME=$TMPDIR
'';
postInstall = ''