programs.nh.clean.extraArgs doesn't seem to work
#504
-
|
I have
It doesn't execute the extra optimization step after garbage collection. Is this a bug? typing the intended command works: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
The extra arguments are only supposed to be passed to |
Beta Was this translation helpful? Give feedback.
The extra arguments are only supposed to be passed to
nh clean"when the service is run automatically" (not when you run the command yourself). See https://github.com/NixOS/nixpkgs/blob/6a65168d976afcf68f2b392bee98f00b1ec88cab/nixos/modules/programs/nh.nix#L60C37-L60C74 and https://github.com/nix-community/home-manager/blob/e5b1f87841810fc24772bf4389f9793702000c9b/modules/programs/nh.nix#L90.