ocamlPackages: stdenv.lib → lib

This change was produced by searching for remaining occurrences of
stdenv.lib and replacing them manually.

Reference #108938.
This commit is contained in:
sternenseemann
2021-01-12 16:33:18 +01:00
committed by Profpatsch
parent ff3057f61a
commit 4e42cac49d
159 changed files with 419 additions and 419 deletions
@@ -1,4 +1,4 @@
{ stdenv, buildDunePackage, fetchurl, ocaml
{ stdenv, lib, buildDunePackage, fetchurl, ocaml
, result, alcotest, cohttp-lwt-unix, odoc, curl }:
buildDunePackage rec {
@@ -17,7 +17,7 @@ buildDunePackage rec {
propagatedBuildInputs = [ result ];
checkInputs = [ alcotest cohttp-lwt-unix ];
# test dependencies are only available for >= 4.08
doCheck = stdenv.lib.versionAtLeast ocaml.version "4.08"
doCheck = lib.versionAtLeast ocaml.version "4.08"
# Some test fails in macOS sandbox
# > Fatal error: exception Unix.Unix_error(Unix.EPERM, "bind", "")
&& !stdenv.isDarwin;