2.home-manager/tests
Damien Cassou 3b930bb653 services.nix-gc: improve error message when nix.gc.frequency is invalid on darwin
Previously, if an invalid value was passed, the build would fail with:

       error: attribute '"00:02:03"' missing
       at /nix/store/sz92b5gqi0ma61d18fwbihi8p37mkvir-source/modules/services/nix-gc.nix:69:5:
           68|     in
           69|     freq.${frequency};
             |     ^
           70|

There was an assertion that should have prevented this from happening
but the crash would happen before the assertion gets a chance to stop
the build with a nice error message.

This commit both gives the assertion a chance to trigger and improves
the assertion's error message.
2025-05-15 13:07:13 -05:00
..
integration treewide: remove unused code (#6985) 2025-05-07 10:03:21 -05:00
lib treewide: remove unused code (#6985) 2025-05-07 10:03:21 -05:00
modules services.nix-gc: improve error message when nix.gc.frequency is invalid on darwin 2025-05-15 13:07:13 -05:00
asserts.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
big-test.nix treewide: Prevent IFD by default 2025-05-07 10:34:18 -05:00
darwinScrublist.nix git: configure patdiff through [patdiff] git section (#6978) 2025-05-08 08:15:51 -05:00
default.nix dbus: Create with pacakges options (#7064) 2025-05-15 12:59:12 -05:00
flake.nix treewide: remove unused code (#6985) 2025-05-07 10:03:21 -05:00
stubs.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00