python3Packages.bash_kernel: allow different python interpreters
This commit is contained in:
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user