nixos/locate: PRUNE_BIND_MOUNTSFR -> PRUNE_BIND_MOUNTS
PRUNE_BIND_MOUNTSFR seems to be a typo.
The man page only mentions it in a header and further in the paragraph
it is PRUNE_BIND_MOUNTS.
Also breaks plocate which complains about the unknown option.
commit5287d0146d0cab7ef0186cf26835be296d0470aa
authorSandro Jäckel <sandro.jaeckel@gmail.com>
dateWed 17 Nov 2021, 04:26 (5 years ago)
parent087657b
nixos/modules/misc/locate.nix+1−1
@@ -202,7 +202,7 @@ in {
202202 PRUNEFS="${lib.concatStringsSep " " cfg.pruneFS}"
203203 PRUNENAMES="${lib.concatStringsSep " " cfg.pruneNames}"
204204 PRUNEPATHS="${lib.concatStringsSep " " cfg.prunePaths}"
205− PRUNE_BIND_MOUNTSFR="${lib.boolToString cfg.pruneBindMounts}"
205+ PRUNE_BIND_MOUNTS="${if cfg.pruneBindMounts then "yes" else "no"}"
206206 '';
207207 };
208208 };