summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/llvm/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/llvm/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/llvm/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/ocaml-modules/llvm/default.nix b/pkgs/development/ocaml-modules/llvm/default.nix
index d141e59d45e8..34fe75a2943f 100644
--- a/pkgs/development/ocaml-modules/llvm/default.nix
+++ b/pkgs/development/ocaml-modules/llvm/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchpatch, python, cmake, llvm, ocaml, findlib, ctypes }:
+{ stdenv, lib, fetchpatch, python, cmake, llvm, ocaml, findlib, ctypes }:
-let version = stdenv.lib.getVersion llvm; in
+let version = lib.getVersion llvm; in
stdenv.mkDerivation {
pname = "ocaml-llvm";
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
cmakeFlags = [
"-DLLVM_OCAML_OUT_OF_TREE=TRUE"
"-DLLVM_OCAML_INSTALL_PATH=${placeholder "out"}/ocaml"
- "-DLLVM_OCAML_EXTERNAL_LLVM_LIBDIR=${stdenv.lib.getLib llvm}/lib"
+ "-DLLVM_OCAML_EXTERNAL_LLVM_LIBDIR=${lib.getLib llvm}/lib"
];
buildFlags = [ "ocaml_all" ];
@@ -41,7 +41,7 @@ stdenv.mkDerivation {
inherit (llvm.meta) license homepage;
platforms = ocaml.meta.platforms or [];
description = "OCaml bindings distributed with LLVM";
- maintainers = with stdenv.lib.maintainers; [ vbgl ];
+ maintainers = with lib.maintainers; [ vbgl ];
};
}