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