pkgs/development/compilers: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-23 08:57:37 +07:00
parent bbaff89ceb
commit acc5f7b18a
320 changed files with 1660 additions and 1657 deletions
@@ -1,4 +1,4 @@
{ stdenv, fetchurl
{ lib, stdenv, fetchurl
, ncurses
, libX11, xorgproto, buildEnv
}:
@@ -6,7 +6,7 @@
let
useX11 = stdenv.isi686 || stdenv.isx86_64;
x11deps = [ libX11 xorgproto ];
inherit (stdenv.lib) optionals;
inherit (lib) optionals;
baseOcamlBranch = "4.07";
baseOcamlVersion = "${baseOcamlBranch}.1";
@@ -78,7 +78,7 @@ stdenv.mkDerivation rec {
nativeCompilers = true;
};
meta = with stdenv.lib; {
meta = with lib; {
description = "Multi-Stage Programming extension for OCaml";
homepage = "http://okmij.org/ftp/ML/MetaOCaml.html";
license = with licenses; [ /* compiler */ qpl /* library */ lgpl2 ];