mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
python.pkgs.bash_kernel: use TMPDIR as HOME
This commit is contained in:
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 = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user