python3Packages.bash_kernel: allow different python interpreters

This commit is contained in:
zimbatm 2017-11-28 21:39:36 +00:00
parent e0368f5076
commit 55709e4a79

View File

@ -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 = {