summary refs log tree commit diff
path: root/pkgs/development/tools/ocaml/dune
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-01-12 20:05:53 +0100
committerVincent Laporte <vbgl@users.noreply.github.com>2021-01-21 11:26:26 +0100
commit095ef20a24f49a3198fb4d54debff3f389e4b1be (patch)
tree176de2b68ff9bab5d5783e8caee3502b4c319e32 /pkgs/development/tools/ocaml/dune
parentf3704de6497e269f2de2e99b3b9eaadbd6630c22 (diff)
downloadnixpkgs-095ef20a24f49a3198fb4d54debff3f389e4b1be.tar
nixpkgs-095ef20a24f49a3198fb4d54debff3f389e4b1be.tar.gz
nixpkgs-095ef20a24f49a3198fb4d54debff3f389e4b1be.tar.bz2
nixpkgs-095ef20a24f49a3198fb4d54debff3f389e4b1be.tar.lz
nixpkgs-095ef20a24f49a3198fb4d54debff3f389e4b1be.tar.xz
nixpkgs-095ef20a24f49a3198fb4d54debff3f389e4b1be.tar.zst
nixpkgs-095ef20a24f49a3198fb4d54debff3f389e4b1be.zip
dune: stdenv.lib → lib
Reference #108938.
Diffstat (limited to 'pkgs/development/tools/ocaml/dune')
-rw-r--r--pkgs/development/tools/ocaml/dune/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/tools/ocaml/dune/default.nix b/pkgs/development/tools/ocaml/dune/default.nix
index 031cbcca21d..bbdbc45270d 100644
--- a/pkgs/development/tools/ocaml/dune/default.nix
+++ b/pkgs/development/tools/ocaml/dune/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchurl, ocaml, findlib }:
+{ stdenv, lib, fetchurl, ocaml, findlib }:
 
-if !stdenv.lib.versionAtLeast ocaml.version "4.02"
+if !lib.versionAtLeast ocaml.version "4.02"
 then throw "dune is not available for OCaml ${ocaml.version}"
 else
 
@@ -22,11 +22,11 @@ stdenv.mkDerivation rec {
 
   dontAddPrefix = true;
 
-  meta = {
+  meta = with lib; {
     homepage = "https://dune.build/";
     description = "A composable build system";
-    maintainers = [ stdenv.lib.maintainers.vbgl stdenv.lib.maintainers.marsam ];
-    license = stdenv.lib.licenses.mit;
+    maintainers = [ maintainers.vbgl maintainers.marsam ];
+    license = licenses.mit;
     inherit (ocaml.meta) platforms;
   };
 }