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
|
||||
, 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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user