diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/nspr')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/nspr/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nixpkgs/pkgs/development/libraries/nspr/default.nix b/nixpkgs/pkgs/development/libraries/nspr/default.nix index e8893bc2040d..17b8b9226d50 100644 --- a/nixpkgs/pkgs/development/libraries/nspr/default.nix +++ b/nixpkgs/pkgs/development/libraries/nspr/default.nix @@ -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; |