about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/topkg/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/topkg/default.nix')
-rw-r--r--nixpkgs/pkgs/development/ocaml-modules/topkg/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/topkg/default.nix b/nixpkgs/pkgs/development/ocaml-modules/topkg/default.nix
index 1bd926b1ddbf..97052115da6b 100644
--- a/nixpkgs/pkgs/development/ocaml-modules/topkg/default.nix
+++ b/nixpkgs/pkgs/development/ocaml-modules/topkg/default.nix
@@ -5,11 +5,11 @@ The `buildPhase` and `installPhase` attributes can be reused directly
 in many cases. When more fine-grained control on how to run the “topkg”
 build system is required, the attribute `run` can be used.
 */
-{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, result, opaline }:
+{ stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild, result, opaline }:
 
 let
   param =
-  if stdenv.lib.versionAtLeast ocaml.version "4.03" then {
+  if lib.versionAtLeast ocaml.version "4.03" then {
     version = "1.0.3";
     sha256 = "0b77gsz9bqby8v77kfi4lans47x9p2lmzanzwins5r29maphb8y6";
   } else {
@@ -46,8 +46,8 @@ stdenv.mkDerivation rec {
 
   meta = {
     homepage = "https://erratique.ch/software/topkg";
-    license = stdenv.lib.licenses.isc;
-    maintainers = [ stdenv.lib.maintainers.vbgl ];
+    license = lib.licenses.isc;
+    maintainers = [ lib.maintainers.vbgl ];
     description = "A packager for distributing OCaml software";
     inherit (ocaml.meta) platforms;
   };