pkgs/development/libraries: stdenv.lib -> lib
This commit is contained in:
committed by
Jonathan Ringer
parent
046d24424e
commit
66e44425c6
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl
|
||||
{ lib, stdenv, fetchurl
|
||||
, CoreServices ? null
|
||||
, buildPackages }:
|
||||
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation {
|
||||
|
||||
preConfigure = ''
|
||||
cd nspr
|
||||
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace configure --replace '@executable_path/' "$out/lib/"
|
||||
substituteInPlace configure.in --replace '@executable_path/' "$out/lib/"
|
||||
'';
|
||||
@@ -32,18 +32,18 @@ stdenv.mkDerivation {
|
||||
configureFlags = [
|
||||
"--enable-optimize"
|
||||
"--disable-debug"
|
||||
] ++ stdenv.lib.optional stdenv.is64bit "--enable-64bit";
|
||||
] ++ lib.optional stdenv.is64bit "--enable-64bit";
|
||||
|
||||
postInstall = ''
|
||||
find $out -name "*.a" -delete
|
||||
moveToOutput share "$dev" # just aclocal
|
||||
'';
|
||||
|
||||
buildInputs = [] ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||
buildInputs = [] ++ lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "http://www.mozilla.org/projects/nspr/";
|
||||
description = "Netscape Portable Runtime, a platform-neutral API for system-level and libc-like functions";
|
||||
platforms = platforms.all;
|
||||
|
||||
Reference in New Issue
Block a user