about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/llvm
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/ocaml-modules/llvm
parent9356c3472c3c0a31fb5d6b9640ef7c958f76795c (diff)
downloadnixlib-d5cceedbd13767b1770c0baac001167f3bf6d5ae.tar
nixlib-d5cceedbd13767b1770c0baac001167f3bf6d5ae.tar.gz
nixlib-d5cceedbd13767b1770c0baac001167f3bf6d5ae.tar.bz2
nixlib-d5cceedbd13767b1770c0baac001167f3bf6d5ae.tar.lz
nixlib-d5cceedbd13767b1770c0baac001167f3bf6d5ae.tar.xz
nixlib-d5cceedbd13767b1770c0baac001167f3bf6d5ae.tar.zst
nixlib-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/llvm')
-rw-r--r--pkgs/development/ocaml-modules/llvm/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/llvm/default.nix b/pkgs/development/ocaml-modules/llvm/default.nix
index 3357b99cebfc..264d95f39f67 100644
--- a/pkgs/development/ocaml-modules/llvm/default.nix
+++ b/pkgs/development/ocaml-modules/llvm/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, python, cmake, libllvm, ocaml, findlib, ctypes }:
+{ stdenv, lib, python2, cmake, libllvm, ocaml, findlib, ctypes }:
 
 let version = lib.getVersion libllvm; in
 
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
   inherit (libllvm) src;
 
   nativeBuildInputs = [ cmake ];
-  buildInputs = [ python ocaml findlib ctypes ];
+  buildInputs = [ python2 ocaml findlib ctypes ];
   propagatedBuildInputs = [ libllvm ];
 
   cmakeFlags = [