diff options
author | Robert Schütz <nix@dotlambda.de> | 2022-01-11 23:40:02 +0000 |
---|---|---|
committer | Robert Schütz <nix@dotlambda.de> | 2022-01-16 18:39:59 +0000 |
commit | d5cceedbd13767b1770c0baac001167f3bf6d5ae (patch) | |
tree | efde5320c59f39bc8924eb0e7b2dfcaebe52388e /pkgs/development/ocaml-modules/pycaml/default.nix | |
parent | 9356c3472c3c0a31fb5d6b9640ef7c958f76795c (diff) | |
download | nixpkgs-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/ocaml-modules/pycaml/default.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/pycaml/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/pycaml/default.nix b/pkgs/development/ocaml-modules/pycaml/default.nix index bee8a6106ea..c19b40eb9af 100644 --- a/pkgs/development/ocaml-modules/pycaml/default.nix +++ b/pkgs/development/ocaml-modules/pycaml/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, ocaml, findlib, ncurses, python, ocaml_make }: +{ lib, stdenv, fetchurl, ocaml, findlib, ncurses, python2, ocaml_make }: # This is the original pycaml version with patches from debian. @@ -27,7 +27,7 @@ stdenv.mkDerivation rec { sourceRoot = "pycaml"; patches = [ "../debian/patches/*.patch" ]; - buildInputs = [ ncurses ocaml findlib python ocaml_make ]; + buildInputs = [ ncurses ocaml findlib python2 ocaml_make ]; createFindlibDestdir = true; # the Makefile is not shipped with an install target, hence we do it ourselves. |