python.pkgs.bash_kernel: use TMPDIR as HOME

This commit is contained in:
Robin Gloster
2017-12-26 01:11:16 +01:00
parent c4036762b2
commit 8fb981fef6
@@ -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 = ''