| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
nixos: pass driver version to user service The user-service drop-in invoked activate without a driver version, so the script defaulted to driver 0 and always managed the per-user home-manager profile, ignoring enableLegacyProfileManagement. Use the same version as the system service and assert both generated user-service commands. | 2 天前 | |
lib/deprecations: name exact settings destinations Forward converted values to the complete settings path so the standard changed-option warning identifies the destination key. Preserve legacy reads, priorities, defaults, and shadowed conversions. Point mpdris2 at Library.music_dir directly and cover nested paths, literal dotted keys, and the affected callers in warning tests. The contributor guidelines now describe `to` as the settings path that contains `key` instead of the settings root. | 8 天前 | |
mpd-mpris: accept strings and paths for pwd-file pwd-file was typed as a path, but ExecStart renders settings through lib.cli.toCommandLine, whose default value formatter has no case for paths, so a path literal such as ./mpd-password aborted evaluation with "generators.mkValueStringDefault: this value is not supported". Accept a string or a path, and render path-like values with toString, which gives a path literal's location without copying the file into the Nix store. Strings and derivations render as before. Add a test for a path literal. | 6 天前 | |
treewide: reformat nixfmt-rfc-style Reformat repository using new nixfmt-rfc-style. | 1 年前 | |
treewide: Prevent IFD by default Import-from-derivation (IFD) has problematic performance, and is disabled in Nixpkgs by policy. It is arguably good practice for libraries to avoid it whenever possible, as it has poor ergonomics in some cases, especially with dry builds, as it requires multiple eval+build phases. As such, prevent its use in Home Manager by default by putting existing tests that use IFD behind a config. In CI, run a first pass with IFD disabled, skipping tests without the config. Then run a second pass with IFD enabled and including tests with the config. This second pass will also run tests without the config, but they should be cached from the previous run, so the cost is not double (only eval time should be paid twice). It’s necessary to change from using NMT’s `run` to `build` as `run` itself uses IFD. Of the tests that have the config: - kitty/theme-to-themeFile: this is a test for deprecated config, and so should be removed eventually anyway - podman: the implementation relies on IFD to create individual systemd units from the derivation output, and so it is not straightforward to remove the IFD; doing so would require rethinking how the module works to instead have the systemd unit files included as-is rather than as individually configured units in the Nix config. | 1 年前 | |
tests: stub jjui on Darwin Avoid pulling the real jjui package into Darwin module tests. | 9 天前 | |
lib.strings: move systemd escaping into strings Reuse the existing strings category and keep the systemd-specific names explicit. Update the caller and test registration together. | 19 天前 | |
tests: support override-inputs in test runner Help resolve issue reported a while ago about override inputs not being respected. Allows testing against a different nixpkgs revision easier. | 5 个月前 | |
tests: split stub derivation attrs from methods Apply non-function stub attributes through overrideAttrs so derivation metadata and wrapper-facing fields remain visible to downstream consumers. Keep function-valued attributes like override on the outer attrset so they are not serialized into derivations and do not break unrelated tests. | 5 个月前 | |
treefmt: format Python with ruff Add ruff to the tree formatter so Python sources are kept consistently formatted by 'nix fmt' and the CI format check. Test fixtures under tests/modules are excluded since some are intentionally invalid Python. Reformats the existing lib/python and tests scripts accordingly. | 3 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 天前 | ||
| 8 天前 | ||
| 6 天前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 9 天前 | ||
| 19 天前 | ||
| 5 个月前 | ||
| 5 个月前 | ||
| 3 个月前 |