summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-11-30 21:16:25 +0100
committerGitHub <noreply@github.com>2021-11-30 21:16:25 +0100
commit39b1caa278d8bd9d142dc4900e8ba2de78ddccc2 (patch)
tree6aa329f2ee658958b0eb48d362651c78b5c9a9e7
parentMerge pull request #146533 from SuperSandro2000/nginx (diff)
parentnixos/locate: PRUNE_BIND_MOUNTSFR -> PRUNE_BIND_MOUNTS (diff)
downloadnixpkgs-39b1caa278d8bd9d142dc4900e8ba2de78ddccc2.tar.gz
Merge pull request #146345 from SuperSandro2000/locate-pruneBindMounts
-rw-r--r--nixos/modules/misc/locate.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/misc/locate.nix b/nixos/modules/misc/locate.nix
index 461a2aa5a946..5fd82aa963bf 100644
--- a/nixos/modules/misc/locate.nix
+++ b/nixos/modules/misc/locate.nix
@@ -216,7 +216,7 @@ in {
PRUNEFS="${lib.concatStringsSep " " cfg.pruneFS}"
PRUNENAMES="${lib.concatStringsSep " " cfg.pruneNames}"
PRUNEPATHS="${lib.concatStringsSep " " cfg.prunePaths}"
- PRUNE_BIND_MOUNTSFR="${lib.boolToString cfg.pruneBindMounts}"
+ PRUNE_BIND_MOUNTS="${if cfg.pruneBindMounts then "yes" else "no"}"
'';
};
};