treewide: Gate libgnurx behind 'isMinGW'

Changed files
+2 -2
pkgs
by-name
li
libpfm
tools
misc
+1 -1
pkgs/by-name/li/libpfm/package.nix
···
env.NIX_CFLAGS_COMPILE = "-Wno-error";
env.CONFIG_PFMLIB_SHARED = if enableShared then "y" else "n";
-
buildInputs = lib.optional stdenv.hostPlatform.isWindows windows.libgnurx;
meta = with lib; {
description = "Helper library to program the performance monitoring events";
···
env.NIX_CFLAGS_COMPILE = "-Wno-error";
env.CONFIG_PFMLIB_SHARED = if enableShared then "y" else "n";
+
buildInputs = lib.optional stdenv.hostPlatform.isMinGW windows.libgnurx;
meta = with lib; {
description = "Helper library to program the performance monitoring events";
+1 -1
pkgs/tools/misc/file/default.nix
···
updateAutotoolsGnuConfigScriptsHook
]
++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) file;
-
buildInputs = [ zlib ] ++ lib.optional stdenv.hostPlatform.isWindows libgnurx;
# https://bugs.astron.com/view.php?id=382
doCheck = !stdenv.buildPlatform.isMusl;
···
updateAutotoolsGnuConfigScriptsHook
]
++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) file;
+
buildInputs = [ zlib ] ++ lib.optional stdenv.hostPlatform.isMinGW libgnurx;
# https://bugs.astron.com/view.php?id=382
doCheck = !stdenv.buildPlatform.isMusl;