summary refs log tree commit diff
path: root/nixos/modules/misc
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 /nixos/modules/misc
parent06811e74f38595d162a1bb9d5396af6b82734c36 (diff)
parent5287d0146d0cab7ef0186cf26835be296d0470aa (diff)
downloadnixpkgs-39b1caa278d8bd9d142dc4900e8ba2de78ddccc2.tar
nixpkgs-39b1caa278d8bd9d142dc4900e8ba2de78ddccc2.tar.gz
nixpkgs-39b1caa278d8bd9d142dc4900e8ba2de78ddccc2.tar.bz2
nixpkgs-39b1caa278d8bd9d142dc4900e8ba2de78ddccc2.tar.lz
nixpkgs-39b1caa278d8bd9d142dc4900e8ba2de78ddccc2.tar.xz
nixpkgs-39b1caa278d8bd9d142dc4900e8ba2de78ddccc2.tar.zst
nixpkgs-39b1caa278d8bd9d142dc4900e8ba2de78ddccc2.zip
Merge pull request #146345 from SuperSandro2000/locate-pruneBindMounts
Diffstat (limited to 'nixos/modules/misc')
-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 461a2aa5a94..5fd82aa963b 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"}"
         '';
       };
     };