Quantum Jump
6e0ca02425
Fix dry-run flag for nix-collect-garbage
...
`nix-collect-garbage --dry-run` previously elided the entire garbage
collection check, meaning that it would just exit the script without
printing anything.
This change makes the dry run flag instead set the GC action to
`gcReturnDead` rather than `gcDeleteDead`, and then continue with the
script. So if you set `--dry-run`, it will print the paths it *would*
have garbage collected, but not actually delete them.
I filed a bug for this: https://git.lix.systems/lix-project/lix/issues/432 but then realised I could give fixing it a go myself.
Change-Id: I062dbf1a80bbab192b5fd0b3a453a0b555ad16f2
2024-07-09 13:55:05 +00:00
..
2024-06-01 20:31:24 +02:00
2024-06-24 11:30:32 +03:00
2023-12-01 12:06:43 -05:00
2024-05-07 17:04:30 -06:00
2024-07-02 07:20:01 +00:00
2024-07-04 17:43:03 -06:00
2024-06-01 20:31:24 +02:00
2024-05-07 17:04:30 -06:00
2024-06-23 11:52:49 +00:00
2024-05-07 17:04:30 -06:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2024-05-06 18:56:40 +02:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2024-06-01 20:31:24 +02:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2024-03-07 10:46:47 +01:00
2023-12-01 12:06:43 -05:00
2024-03-07 10:46:47 +01:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2024-06-01 20:31:24 +02:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2024-06-27 22:44:16 -07:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2024-06-24 11:30:32 +03:00
2023-12-01 12:06:43 -05:00
2024-03-25 17:36:24 -06:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2024-03-07 10:46:47 +01:00
2024-05-03 16:26:16 +02:00
2024-06-01 20:31:24 +02:00
2024-03-04 08:57:44 +01:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2024-03-04 07:15:08 +01:00
2023-12-01 12:06:43 -05:00
2024-07-04 17:43:03 -06:00
2024-06-30 19:28:14 +02:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2024-05-08 19:31:43 +00:00
2024-05-08 19:31:43 +00:00
2024-03-07 10:46:47 +01:00
2024-03-29 22:57:40 -07:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2024-06-18 00:54:51 +00:00
2024-05-04 16:48:07 +02:00
2023-12-01 12:06:43 -05:00
2024-06-01 20:31:24 +02:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2024-03-04 07:50:02 +01:00
2024-03-04 07:50:02 +01:00
2023-12-01 12:06:43 -05:00
2024-03-29 22:57:40 -07:00
2024-06-27 22:44:16 -07:00
2024-03-29 22:57:40 -07:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2024-03-07 00:43:51 -07:00
2024-04-25 23:24:21 -04:00
2024-04-25 23:24:21 -04:00
2023-12-01 12:06:43 -05:00
2024-03-29 22:57:40 -07:00
2023-12-01 12:06:43 -05:00
2024-03-07 10:46:47 +01:00
2024-01-11 07:21:16 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2024-06-01 20:31:24 +02:00
2024-03-04 07:21:01 +01:00
2024-05-06 18:56:40 +02:00
2024-06-24 14:00:43 -07:00
2023-12-01 12:06:43 -05:00
2024-03-29 22:57:40 -07:00
2024-04-08 15:40:12 -07:00
2024-03-29 22:57:40 -07:00
2024-05-31 07:54:18 +00:00
2024-04-08 15:40:12 -07:00
2024-03-04 07:26:34 +01:00
2024-07-09 13:55:05 +00:00
2024-05-30 03:07:21 +00:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2024-03-29 22:57:40 -07:00
2024-03-04 05:27:18 +01:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2024-03-29 22:57:40 -07:00
2023-12-01 12:06:43 -05:00
2024-07-09 13:55:05 +00:00
2024-03-07 03:34:00 +01:00
2024-03-07 03:34:00 +01:00
2024-03-07 03:34:00 +01:00
2024-06-24 14:00:43 -07:00
2024-05-24 15:15:42 -06:00
2024-03-04 08:51:49 +01:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2024-05-12 23:04:21 +02:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2024-06-24 14:00:43 -07:00
2024-06-24 14:00:43 -07:00
2024-03-29 22:57:40 -07:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2024-04-08 15:40:12 -07:00
2023-12-01 12:06:43 -05:00
2024-03-09 07:20:23 -07:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2024-03-04 08:40:12 +01:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2024-03-04 07:50:55 +01:00
2023-12-01 12:06:43 -05:00
2024-03-04 07:50:55 +01:00
2024-03-29 22:57:40 -07:00
2024-03-29 22:57:40 -07:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2024-03-29 22:57:40 -07:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2024-03-04 08:17:32 +01:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2024-03-07 10:46:47 +01:00
2024-06-23 11:52:49 +00:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2024-04-11 15:43:58 +03:00
2024-03-04 05:34:19 +01:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2024-03-14 14:30:38 -07:00
2023-12-01 12:06:43 -05:00
2024-05-28 04:20:00 +00:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00
2024-03-04 05:59:15 +01:00
2023-12-01 12:06:43 -05:00
2023-12-01 12:06:43 -05:00