python3Packages.bash_kernel: allow different python interpreters
This commit is contained in:
parent
e0368f5076
commit
55709e4a79
@ -4,6 +4,7 @@
|
|||||||
, fetchpatch
|
, fetchpatch
|
||||||
, ipykernel
|
, ipykernel
|
||||||
, isPy27
|
, isPy27
|
||||||
|
, python
|
||||||
, pexpect
|
, pexpect
|
||||||
}:
|
}:
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -35,7 +36,7 @@ buildPythonPackage rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
python -m bash_kernel.install --prefix $out
|
${python.interpreter} -m bash_kernel.install --prefix $out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user