treewide: Gate libgnurx behind 'isMinGW'
This commit is contained in:
parent
a5056195ce
commit
ceb75e0f40
@ -36,7 +36,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
env.NIX_CFLAGS_COMPILE = "-Wno-error";
|
||||
env.CONFIG_PFMLIB_SHARED = if enableShared then "y" else "n";
|
||||
|
||||
buildInputs = lib.optional stdenv.hostPlatform.isWindows windows.libgnurx;
|
||||
buildInputs = lib.optional stdenv.hostPlatform.isMinGW windows.libgnurx;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Helper library to program the performance monitoring events";
|
||||
|
||||
@ -53,7 +53,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
updateAutotoolsGnuConfigScriptsHook
|
||||
]
|
||||
++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) file;
|
||||
buildInputs = [ zlib ] ++ lib.optional stdenv.hostPlatform.isWindows libgnurx;
|
||||
buildInputs = [ zlib ] ++ lib.optional stdenv.hostPlatform.isMinGW libgnurx;
|
||||
|
||||
# https://bugs.astron.com/view.php?id=382
|
||||
doCheck = !stdenv.buildPlatform.isMusl;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user