From 095ef20a24f49a3198fb4d54debff3f389e4b1be Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Tue, 12 Jan 2021 20:05:53 +0100 Subject: [PATCH] =?UTF-8?q?dune:=20stdenv.lib=20=E2=86=92=20lib?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reference #108938. --- pkgs/development/tools/ocaml/dune/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/tools/ocaml/dune/default.nix b/pkgs/development/tools/ocaml/dune/default.nix index 031cbcca21d8..bbdbc45270d0 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; }; }