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.
This commit is contained in:
parent
087657bbf0
commit
5287d0146d
|
@ -202,7 +202,7 @@ in {
|
||||||
PRUNEFS="${lib.concatStringsSep " " cfg.pruneFS}"
|
PRUNEFS="${lib.concatStringsSep " " cfg.pruneFS}"
|
||||||
PRUNENAMES="${lib.concatStringsSep " " cfg.pruneNames}"
|
PRUNENAMES="${lib.concatStringsSep " " cfg.pruneNames}"
|
||||||
PRUNEPATHS="${lib.concatStringsSep " " cfg.prunePaths}"
|
PRUNEPATHS="${lib.concatStringsSep " " cfg.prunePaths}"
|
||||||
PRUNE_BIND_MOUNTSFR="${lib.boolToString cfg.pruneBindMounts}"
|
PRUNE_BIND_MOUNTS="${if cfg.pruneBindMounts then "yes" else "no"}"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue