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

This commit is contained in:
Ben Siraphob
2021-01-21 19:11:02 -08:00
committed by Jonathan Ringer
parent 046d24424e
commit 66e44425c6
1770 changed files with 4913 additions and 4912 deletions
@@ -1,4 +1,4 @@
{ stdenv, fetchurl
{ lib, stdenv, fetchurl
, enableShared ? !stdenv.hostPlatform.isStatic
}:
@@ -20,7 +20,7 @@ stdenv.mkDerivation (rec {
NIX_CFLAGS_COMPILE = "-Wno-error";
meta = with stdenv.lib; {
meta = with lib; {
description = "Helper library to program the performance monitoring events";
longDescription = ''
This package provides a library, called libpfm4 which is used to
@@ -32,7 +32,7 @@ stdenv.mkDerivation (rec {
maintainers = [ maintainers.pierron ];
platforms = platforms.linux;
};
} // stdenv.lib.optionalAttrs ( ! enableShared )
} // lib.optionalAttrs ( ! enableShared )
{
CONFIG_PFMLIB_SHARED = "n";
}