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
+5 -5
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, makeWrapper
{ lib, stdenv, fetchurl, makeWrapper
, boost, gmp
, tcl-8_5, tk-8_5
, emacs
@@ -23,7 +23,7 @@ stdenv.mkDerivation {
src = binaries.${stdenv.hostPlatform.system} or (throw "unsupported system: ${stdenv.hostPlatform.system}");
libPath = stdenv.lib.makeLibraryPath
libPath = lib.makeLibraryPath
[ stdenv.cc.cc
boost
gmp
@@ -51,8 +51,8 @@ stdenv.mkDerivation {
wrapProgram $out/bin/ozemulator --set OZHOME $out
${stdenv.lib.optionalString (emacs != null) ''
wrapProgram $out/bin/oz --suffix PATH ":" ${stdenv.lib.makeBinPath [ emacs ]}
${lib.optionalString (emacs != null) ''
wrapProgram $out/bin/oz --suffix PATH ":" ${lib.makeBinPath [ emacs ]}
''}
sed -i $out/share/applications/oz.desktop \
@@ -63,7 +63,7 @@ stdenv.mkDerivation {
patchShebangs $out
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://www.mozart-oz.org/";
description = "Multiplatform implementation of the Oz programming language";
longDescription = ''