nixpkgs/pkgs
Alyssa Ross 7be5fbf70f
pkgsStatic.netbsd: fix nbtool_config.h conflicts
In pkgsStatic, /all/ build inputs are propagated.  This means that
netbsd.compat was propagated, along with its setup hook, which broke
static glib builds because glib defines a function with the same name
as one in nbtool_config.h, and nbtool_config.h was being automatically
included in every C file processed by the compiler, in any transitive
dependent of netbsd.compat's setup hook.

To fix this, rather than forcing nbtool_config.h to be included for
_every_ C file in a derivation that depends on netbsd.compat, modify
the NetBSD-specific mkDerivation to detect files that need the header,
and patch it in there where appropriate.  That way, only files that
are part of NetBSD will be affected, not all transitive dependents.
2022-01-06 14:20:18 +00:00
..
applications Merge pull request #153518 from abbradar/gajim-fixes 2022-01-05 06:11:22 +00:00
build-support garble: mark as broken on darwin 2022-01-03 18:53:54 -05:00
common-updater
data Merge master into haskell-updates 2022-01-03 00:08:40 +00:00
desktops Merge pull request #152345 from romildo/upd.lxqt-config 2022-01-04 08:37:21 -03:00
development kube-linter: init at 0.2.5 2022-01-05 20:35:40 +10:00
games Merge pull request #152744 from lucasew/package/tlauncher 2022-01-03 18:46:03 -03:00
misc Merge pull request #153401 from thiagokokada/retroarch-improvements 2022-01-04 17:48:08 -03:00
os-specific pkgsStatic.netbsd: fix nbtool_config.h conflicts 2022-01-06 14:20:18 +00:00
pkgs-lib
servers consul: 1.10.3 -> 1.11.1 2022-01-04 16:35:32 -05:00
shells tcsh: 6.23.00 -> 6.23.02 2022-01-04 01:57:33 -03:00
stdenv
test
tools Merge pull request #153365 from cpu/cpu-honggfuzz-2.5 2022-01-05 12:23:30 +01:00
top-level Merge pull request #151748 from hercules-ci/check-nixpkgs-overlays-type 2022-01-05 12:40:51 +01:00