Skip to content

Commit 55709e4

Browse files
committedNov 28, 2017
python3Packages.bash_kernel: allow different python interpreters
1 parent e0368f5 commit 55709e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎pkgs/development/python-modules/bash_kernel/default.nix

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
, fetchpatch
55
, ipykernel
66
, isPy27
7+
, python
78
, pexpect
89
}:
910
buildPythonPackage rec {
@@ -35,7 +36,7 @@ buildPythonPackage rec {
3536
'';
3637

3738
postInstall = ''
38-
python -m bash_kernel.install --prefix $out
39+
${python.interpreter} -m bash_kernel.install --prefix $out
3940
'';
4041

4142
meta = {

0 commit comments

Comments
 (0)
Please sign in to comment.