summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2018-06-04 15:34:21 +0200
committeraszlig <aszlig@nix.build>2018-06-04 15:34:21 +0200
commit0e7c945e15117e88ac494e29c9828ccea2ec32ee (patch)
treef5b833ffa4b08dc808f483327c5030a7a3fe8b86 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent0385d69f878a4b9ce4d4735e28dff6ecf7b64507 (diff)
nixos/systemd: Allow to override serviceConfig
This has been reported by @qknight in his Stack Overflow question: https://stackoverflow.com/q/50678639 The correct way to override a single value would be to use something like this: systemd.services.nagios.serviceConfig.Restart = lib.mkForce "no"; However, this doesn't work because the check is applied for the attrsOf type and thus the attribute values might still contain the attribute set created by mkOverride. The unitOption type however did already account for this, but at this stage it's already too late. So now the actual value is unpacked while checking the values of the attribute set, which should allow us to override values in serviceConfig. Signed-off-by: aszlig <aszlig@nix.build> Cc: @edolstra, @qknight
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions