about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/bin_prot/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/bin_prot/default.nix')
-rw-r--r--nixpkgs/pkgs/development/ocaml-modules/bin_prot/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/bin_prot/default.nix b/nixpkgs/pkgs/development/ocaml-modules/bin_prot/default.nix
index 0dddb653e09e..50ef935aff6b 100644
--- a/nixpkgs/pkgs/development/ocaml-modules/bin_prot/default.nix
+++ b/nixpkgs/pkgs/development/ocaml-modules/bin_prot/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, buildOcaml, fetchurl, ocaml, type_conv }:
+{ lib, buildOcaml, fetchurl, ocaml, type_conv }:
 
-if stdenv.lib.versionAtLeast ocaml.version "4.06"
+if lib.versionAtLeast ocaml.version "4.06"
 then throw "bin_prot-112.24.00 is not available for OCaml ${ocaml.version}"
 else
 
@@ -19,7 +19,7 @@ buildOcaml rec {
 
   hasSharedObjects = true;
 
-  meta = with stdenv.lib; {
+  meta = with lib; {
     homepage = "https://github.com/janestreet/bin_prot";
     description = "Binary protocol generator ";
     license = licenses.asl20;