summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
diff options
context:
space:
mode:
authorLuflosi <luflosi@luflosi.de>2022-08-05 20:56:15 +0200
committerLuflosi <luflosi@luflosi.de>2023-01-24 16:33:03 +0100
commit78f357f134f2184ff4583ba82fd51c19fc40297c (patch)
treed84fbc7e4ee5c004f39b89fc7ff21d56bc818f9c /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
parenteb45a616747157b8e5f0438a14ce6d43972f5327 (diff)
nixos/kubo: make the configuration options idempotent
Without this commit, unsetting any of the `services.kubo.settings` options does not reset the value back to the default. This commit gets rid of this statefulness. This is achieved by generating the default config, applying the user specified config options to it and then patching the `Identity` and `Pinning` config options from the old config back in. This new config is then applied using `ipfs config replace`. The only remaining stateful parts of the config are the `Identity` and `Pinning.RemoteServices` settings as those can't be changed with `ipfs config replace`. `Pinning.RemoteServices` also contains secrets that shouldn't be in the Nix store. Setting these options wasn't possible before as it would result in an error when the daemon tried to start. I added some assertions to guard against this case.
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions