summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorRicardo M. Correia <rcorreia@wizy.org>2020-05-29 14:25:48 +0200
committerLinus Heckemann <git@sphalerite.org>2021-03-07 18:27:14 +0100
commit6feb61233bc66d00bdb28dc2375bd2c5221858fd (patch)
tree0a504dc075dc427893349e79258639c5b1e921c5 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent0aeba64fb26e4defa0842a942757144659c6e29f (diff)
linux: make sure all config options have the same value
Currently, kernel config options whose value is "yes" always override options whose value is "no". This is not always desired. Generally speaking, if someone defines an option to have the value "no", presumably they are disabling the option for a reason, so it's not always OK to silently enable it due to another, probably unrelated reason. For example, a user may want to reduce the kernel attack surface and therefore may want to disable features that are being enabled in common-config.nix. In fact, common-config.nix was already silently enabling options that were intended to be disabled in hardened/config.nix for security reasons, such as INET_DIAG. By eliminating the custom merge function, these config options will now use the default module option merge functions which make sure that all options with the highest priority have the same value. A user that wishes to override an option defined in common-config.nix can currently use mkForce or mkOverride to do so, e.g.: BINFMT_MISC = mkForce (option no); That said, this is not going to be necessary in the future, because the plan is for kernel config options defined in nixpkgs to use a lower priority by default, like it currently happens for other module options.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions