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
|
||||
, 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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user