diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-02-08 19:53:23 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-02-08 19:53:23 +0100 |
commit | 4d51b6cda5f0e5c8614dad49292fe553ecb02dd9 (patch) | |
tree | 13a0a2516f227d64ae303d39498067294fb39a48 /pkgs/development/tools/pydb | |
parent | a805b1206d1a8960863f468ac3dfcff4889ec93c (diff) | |
download | nixlib-4d51b6cda5f0e5c8614dad49292fe553ecb02dd9.tar nixlib-4d51b6cda5f0e5c8614dad49292fe553ecb02dd9.tar.gz nixlib-4d51b6cda5f0e5c8614dad49292fe553ecb02dd9.tar.bz2 nixlib-4d51b6cda5f0e5c8614dad49292fe553ecb02dd9.tar.lz nixlib-4d51b6cda5f0e5c8614dad49292fe553ecb02dd9.tar.xz nixlib-4d51b6cda5f0e5c8614dad49292fe553ecb02dd9.tar.zst nixlib-4d51b6cda5f0e5c8614dad49292fe553ecb02dd9.zip |
pydb: use python2
Diffstat (limited to 'pkgs/development/tools/pydb')
-rw-r--r-- | pkgs/development/tools/pydb/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/tools/pydb/default.nix b/pkgs/development/tools/pydb/default.nix index 1b5a2ca674f4..e71eca0a3fa9 100644 --- a/pkgs/development/tools/pydb/default.nix +++ b/pkgs/development/tools/pydb/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, python, emacs }: +{ stdenv, fetchurl, python2, emacs }: stdenv.mkDerivation { name = "pydb-1.26"; @@ -8,11 +8,11 @@ stdenv.mkDerivation { sha256 = "1wlkz1hd5d4gkzhkjkzcm650c1lchj28hj36jx96mklglm41h4q1"; }; - buildInputs = [ python emacs /* emacs is optional */ ]; + buildInputs = [ python2 emacs /* emacs is optional */ ]; preConfigure = '' p="$(toPythonPath $out)" - configureFlags="$configureFlags --with-python=${python}/bin/python --with-site-packages=$p" + configureFlags="$configureFlags --with-python=${python.interpreter} --with-site-packages=$p" ''; meta = { |