f88190bc18
wrapper-manager-fds/modules: add suffix and prefix for setting envvars
2024-08-03 16:45:48 +08:00
7009462c3c
wrapper-manager-fds/modules: change basePackages to accept a bare package
...
This will allow us to make changes to `programs.<name>.package`-type of
options found in NixOS, home-manager, etc. but it is expensive at the
cost of a rebuild which depends on the package.
2024-08-01 12:07:34 +08:00
a6fb0c4b53
wrapper-manager-fds: reformat codebase
2024-07-31 21:51:40 +08:00
b2c33db951
wrapper-manager-fds/modules: add global pathAdd and env variables
2024-07-30 11:08:24 +08:00
747a8f66a1
wrapper-manager-fds/modules: update module documentation
2024-07-28 10:47:48 +08:00
72ecef6e69
wrapper-manager-fds/modules: allow envvar values to be non-escaped
2024-07-28 10:47:08 +08:00
534ea2e7c3
wrapper-manager-fds/modules: restructure env option
...
Now we have solved the problem of requiring separate options by
consolidating them together. This shouldn't be that breaking of a
change.
2024-07-27 21:17:01 +08:00
b681861b59
wrapper-manager-fds/modules: fix makeWrapper arguments
...
Welp, we escape the arguments properly this time since it doesn't work
anymore for some reason but at least it is consistent for both binary-
and shell-based wrappers.
2024-07-27 20:00:36 +08:00
df76518872
wrapper-manager-fds/modules: update PATH and XDG dirs to be a part of env
instead
...
This makes it easier to work with for custom modules.
2024-07-27 12:09:47 +08:00
2a84b7e129
wrapper-manager-fds/modules: update module descriptions and disable escaping pathAdd
...
`makeWrapperBinary` already escapes it so it would be problematic.
2024-07-21 16:22:12 +08:00
6f62e3077a
wrapper-manager-fds: update comments
2024-07-16 18:50:29 +08:00
26fc802dc7
wrapper-manager-fds/modules: disable read-only for makeWrapperArgs
per-wrapper
...
This should make it usable for third-party module authors (which is also
me considering I make custom modules for myself).
2024-07-11 17:30:01 +08:00
f146415330
wrapper-manager-fds/modules: un-modularize parts of the module
...
There's not much use for it being modularized anyways.
2024-07-10 15:39:12 +08:00
50d8125b1b
wrapper-manager-fds/modules: init setting XDG desktop entries
2024-07-09 16:03:30 +08:00
3324c12d4c
wrapper-manager-fds/modules: overhaul wrapper config
...
Now, there could be multiple wrappers within the configuration but it
should still result with one derivation unlike the original version.
This could be handy for making package overrides with multiple binaries
(for example, 7Z) while making the interface consistent. This turns out
to be way nicer than I thought which is a good thing.
2024-07-08 21:12:31 +08:00
f1d4984921
wrapper-manager-fds/modules: add unset option
2024-07-02 11:56:26 +08:00
df9dcfcb21
wrapper-manager-fds/modules: fix default value for executable name
2024-07-01 22:31:33 +08:00
7cc57ce319
wrapper-manager-fds: init
...
It's a prototype for now, yeah. It'll be improved.
2024-07-01 15:14:48 +08:00