summary refs log tree commit diff
path: root/pkgs/development/libraries/ptex/default.nix
diff options
context:
space:
mode:
authorRobert Schütz <nix@dotlambda.de>2022-01-11 23:40:02 +0000
committerRobert Schütz <nix@dotlambda.de>2022-01-16 18:39:59 +0000
commitd5cceedbd13767b1770c0baac001167f3bf6d5ae (patch)
treeefde5320c59f39bc8924eb0e7b2dfcaebe52388e /pkgs/development/libraries/ptex/default.nix
parent9356c3472c3c0a31fb5d6b9640ef7c958f76795c (diff)
downloadnixpkgs-d5cceedbd13767b1770c0baac001167f3bf6d5ae.tar
nixpkgs-d5cceedbd13767b1770c0baac001167f3bf6d5ae.tar.gz
nixpkgs-d5cceedbd13767b1770c0baac001167f3bf6d5ae.tar.bz2
nixpkgs-d5cceedbd13767b1770c0baac001167f3bf6d5ae.tar.lz
nixpkgs-d5cceedbd13767b1770c0baac001167f3bf6d5ae.tar.xz
nixpkgs-d5cceedbd13767b1770c0baac001167f3bf6d5ae.tar.zst
nixpkgs-d5cceedbd13767b1770c0baac001167f3bf6d5ae.zip
python,pythonPackages: make aliases
Since aliases are disallowed in nixpkgs, this makes usage of Python 2
which is EOL more explicit.
Diffstat (limited to 'pkgs/development/libraries/ptex/default.nix')
-rw-r--r--pkgs/development/libraries/ptex/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/ptex/default.nix b/pkgs/development/libraries/ptex/default.nix
index d0bdb95fecc..561c9cf93c2 100644
--- a/pkgs/development/libraries/ptex/default.nix
+++ b/pkgs/development/libraries/ptex/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchFromGitHub, zlib, python, cmake, pkg-config }:
+{ lib, stdenv, fetchFromGitHub, zlib, python2, cmake, pkg-config }:
 
 stdenv.mkDerivation rec
 {
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec
   outputs = [ "bin" "dev" "out" "lib" ];
 
   nativeBuildInputs = [ cmake ];
-  buildInputs = [ zlib python pkg-config ];
+  buildInputs = [ zlib python2 pkg-config ];
 
   # Can be removed in the next release
   # https://github.com/wdas/ptex/pull/42