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-11 13:49:15 +01:00
committed by Profpatsch
parent ff3057f61a
commit 4e42cac49d
159 changed files with 419 additions and 419 deletions

View File

@@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, ctypes, libsodium }:
if stdenv.lib.versionAtLeast ocaml.version "4.10"
if lib.versionAtLeast ocaml.version "4.10"
then throw "sodium is not available for OCaml ${ocaml.version}"
else
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
createFindlibDestdir = true;
hardeningDisable = stdenv.lib.optional stdenv.isDarwin "strictoverflow";
hardeningDisable = lib.optional stdenv.isDarwin "strictoverflow";
meta = with lib; {
homepage = "https://github.com/dsheets/ocaml-sodium";