Commit Graph

47 Commits

Author SHA1 Message Date
c2625afbff
chore: reformat codebase
Some checks failed
Check test suite / Check outputs (push) Has been cancelled
Deploy documentation site / Build website (push) Has been cancelled
Deploy documentation site / Deploy website (push) Has been cancelled
Update Nix dependencies / update-nix-deps (push) Has been cancelled
2025-01-12 17:58:39 +08:00
a7ec84436e
modules/env: fix example config
Some checks are pending
Check test suite / Check outputs (push) Waiting to run
Deploy documentation site / Build website (push) Waiting to run
Deploy documentation site / Deploy website (push) Blocked by required conditions
2025-01-10 14:32:35 +08:00
628952542e
wrapper-manager-fds/modules: add package installation option for common integration module 2024-11-21 13:40:01 +08:00
5a04d1670b wrapper-manager-fds/modules/files: update description and example 2024-09-28 19:37:00 +08:00
b667a335de wrapper-manager-fds/modules: change build.isBinary to build.variant
This makes it possible to implement different types of wrappers, even
our own in case it is desparately needed.
2024-09-21 10:14:54 +08:00
3516efa6f2 wrapper-manager-fds/modules: init files option 2024-09-17 18:18:59 +08:00
d7ea56adf3 wrapper-manager-fds/modules: add option for additional modules inclusion in documentation 2024-09-04 14:49:00 +08:00
91b84bf9e3 wrapper-manager-fds: update project overview and module examples 2024-08-26 15:59:04 +08:00
e7b3d35209 wrapper-manager-fds/modules: update module descriptions and remove inherit-arg0 as part of default argument
The makeWrapper seems to handle most of the cases fine anyways.
2024-08-15 12:10:57 +08:00
eeec3a1dff wrapper-manager-fds/modules: update stringy type 2024-08-04 17:32:41 +08:00
c15fabcab7 wrapper-manager-fds/docs: update project overview and add design notes to modules 2024-08-03 16:47:08 +08:00
f5dca27dce wrapper-manager-fds/modules: add suffix and prefix for setting envvars 2024-08-03 16:45:48 +08:00
e63db1620e wrapper-manager-fds/modules: update makeWrapper names to be more proper 2024-08-02 11:54:30 +08:00
03e29feec5 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
d4a8025d06 wrapper-manager-fds: reformat codebase 2024-07-31 21:51:40 +08:00
71a24ccbf4 wrapper-manager-fds/modules/env: add options to add documentation packages 2024-07-31 16:51:25 +08:00
00beef2434 wrapper-manager-fds/modules: update description 2024-07-31 13:28:21 +08:00
aa75324da5 wrapper-manager-fds/modules: add global pathAdd and env variables 2024-07-30 11:08:24 +08:00
ec2e1ba068 wrapper-manager-fds/docs: fix module options doc generation 2024-07-28 10:52:24 +08:00
5180f42a48 wrapper-manager-fds/modules: update module documentation 2024-07-28 10:47:48 +08:00
296e8ea59b wrapper-manager-fds/modules: allow envvar values to be non-escaped 2024-07-28 10:47:08 +08:00
dd389a65ec 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
5714c1b8c6 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
f04b1179d8 wrapper-manager-fds/modules: add locale option for global env and per-wrapper 2024-07-27 12:18:41 +08:00
aef2ac2825 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
9639a16a65 wrapper-manager-fds/modules: update common env module visibility 2024-07-23 21:41:45 +08:00
f585a5aa13 wrapper-manager-fds/modules: update behavior for setting env-wide XDG dirs 2024-07-23 21:41:09 +08:00
19fc93419a wrapper-manager-fds/modules: add build.passthru 2024-07-23 21:40:28 +08:00
92f8103743 wrapper-manager-fds/modules: set pkgs on integration modules modularly
Now we have consistent behavior on both manual evaluation and on the
integration modules.
2024-07-21 17:50:20 +08:00
8ca3f6842e wrapper-manager-fds/modules: add configuring XDG-related directories per-wrapper 2024-07-21 17:43:30 +08:00
b6b9be6648 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
7cd03e86a7 wrapper-manager-fds: update comments 2024-07-16 18:50:29 +08:00
7410f1a07b wrapper-manager-fds/modules: force generated desktop files into path
`pkgs.symlinkJoin` probably doesn't like that but for now, this will do.
2024-07-11 17:30:40 +08:00
fa0402272f 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
2c8f99cae2 wrapper-manager-fds/modules: update example for env integration 2024-07-10 15:45:04 +08:00
1c22e91176 wrapper-manager-fds/modules: update XDG desktop entry config for wrappers 2024-07-10 15:39:37 +08:00
590a076d39 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
d72ffdca9e wrapper-manager-fds/modules: update common env module documentation 2024-07-09 23:18:32 +08:00
2cdb569462 wrapper-manager-fds/modules: init setting XDG desktop entries 2024-07-09 16:03:30 +08:00
28dfaefc20 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
393465ec47 wrapper-manager-fds/lib: add arg0 argument for mkWrappedPackage
Time to figure out if this is a good idea.
2024-07-03 23:19:22 +08:00
cf9e4c0c20 wrapper-manager-fds/modules: fix NixOS and home-manager module 2024-07-03 23:18:26 +08:00
6a3e1a494d wrapper-manager-fds/modules: init module for home-manager and NixOS integration 2024-07-02 19:30:47 +08:00
4120a54385 wrapper-manager-fds/modules: add unset option 2024-07-02 11:56:26 +08:00
7cdb74a4a3 wrapper-manager-fds/modules: add option for binary wrapper creation
Also updated the name of the wrapper arguments to its
stdenv.mkDerivation equivalent.
2024-07-02 11:38:30 +08:00
a9992ee194 wrapper-manager-fds/modules: fix default value for executable name 2024-07-01 22:31:33 +08:00
a994a0cbac wrapper-manager-fds: init
It's a prototype for now, yeah. It'll be improved.
2024-07-01 15:14:48 +08:00