summary refs log tree commit diff
path: root/pkgs/development/python-modules/bash_kernel
diff options
context:
space:
mode:
authorzimbatm <zimbatm@zimbatm.com>2017-11-28 21:39:36 +0000
committerzimbatm <zimbatm@zimbatm.com>2017-11-28 21:39:55 +0000
commit55709e4a794638f38d68e49f7c1f82f5e21b2c8e (patch)
treed69bad9dadc1e95162b61d0958b804eaa0d86479 /pkgs/development/python-modules/bash_kernel
parente0368f5076abdedb671ef223d183d1a43b786e14 (diff)
downloadnixlib-55709e4a794638f38d68e49f7c1f82f5e21b2c8e.tar
nixlib-55709e4a794638f38d68e49f7c1f82f5e21b2c8e.tar.gz
nixlib-55709e4a794638f38d68e49f7c1f82f5e21b2c8e.tar.bz2
nixlib-55709e4a794638f38d68e49f7c1f82f5e21b2c8e.tar.lz
nixlib-55709e4a794638f38d68e49f7c1f82f5e21b2c8e.tar.xz
nixlib-55709e4a794638f38d68e49f7c1f82f5e21b2c8e.tar.zst
nixlib-55709e4a794638f38d68e49f7c1f82f5e21b2c8e.zip
python3Packages.bash_kernel: allow different python interpreters
Diffstat (limited to 'pkgs/development/python-modules/bash_kernel')
-rw-r--r--pkgs/development/python-modules/bash_kernel/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/bash_kernel/default.nix b/pkgs/development/python-modules/bash_kernel/default.nix
index f35d8fae690c..b7f508cdda25 100644
--- a/pkgs/development/python-modules/bash_kernel/default.nix
+++ b/pkgs/development/python-modules/bash_kernel/default.nix
@@ -4,6 +4,7 @@
 , fetchpatch
 , ipykernel
 , isPy27
+, python
 , pexpect
 }:
 buildPythonPackage rec {
@@ -35,7 +36,7 @@ buildPythonPackage rec {
   '';
 
   postInstall = ''
-    python -m bash_kernel.install --prefix $out
+    ${python.interpreter} -m bash_kernel.install --prefix $out
   '';
 
   meta = {