summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2023-09-26 23:28:40 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2023-09-26 23:28:40 +0200
commitd77b59b41d038ad9c3878d8ccb2a35f87d178acb (patch)
tree6a1d8c8692e3e67eb864e64afea822ca9976cdb4 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
parent214cf0b9343dc619a36aedd2320bb1d73915c6de (diff)
nixos/rust-motd: use a second attribute (`order`) for the of sections in TOML
Rather than using `priority` with `sortProperties`, a new option called `order` defines the ordering of the sections. I.e. order = [ "global" "uptime" "banner" ] means that `uptime` comes before `banner`. Please note that `global` is for global settings and not a section. I figured that it'd be too much magic to hide this in the implementation and ask the user to specify the order of _each_ section in `settings` instead. OTOH this makes the intent way clearer than priorities. Also, this remains opt-in, the option defaults to `attrNames cfg.settings`, i.e. all sections ordered alphabetically.
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions