summary refs log tree commit diff
path: root/nixos/modules/misc/locate.nix
diff options
context:
space:
mode:
authorvolth <volth@volth.com>2021-01-24 09:19:10 +0000
committerBen Siraphob <bensiraphob@gmail.com>2021-01-24 19:56:59 +0700
commitbc0d605cf19cef46ad2c82b4d2bb931a96b7c275 (patch)
treee2748f2e13e2d7c5f0748974c666c2b1e11aec7f /nixos/modules/misc/locate.nix
parent513a3ea66508726937f65c257c79edd67059cef6 (diff)
downloadnixpkgs-bc0d605cf19cef46ad2c82b4d2bb931a96b7c275.tar
nixpkgs-bc0d605cf19cef46ad2c82b4d2bb931a96b7c275.tar.gz
nixpkgs-bc0d605cf19cef46ad2c82b4d2bb931a96b7c275.tar.bz2
nixpkgs-bc0d605cf19cef46ad2c82b4d2bb931a96b7c275.tar.lz
nixpkgs-bc0d605cf19cef46ad2c82b4d2bb931a96b7c275.tar.xz
nixpkgs-bc0d605cf19cef46ad2c82b4d2bb931a96b7c275.tar.zst
nixpkgs-bc0d605cf19cef46ad2c82b4d2bb931a96b7c275.zip
treewide: fix double quoted strings in meta.description
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
Diffstat (limited to 'nixos/modules/misc/locate.nix')
-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 426281c9412..1d2bc8c7281 100644
--- a/nixos/modules/misc/locate.nix
+++ b/nixos/modules/misc/locate.nix
@@ -215,7 +215,7 @@ in {
           ''
           else ''
             exec ${cfg.locate}/bin/updatedb \
-              ${optionalString (cfg.localuser != null && ! isMLocate) ''--localuser=${cfg.localuser}''} \
+              ${optionalString (cfg.localuser != null && ! isMLocate) "--localuser=${cfg.localuser}"} \
               --output=${toString cfg.output} ${concatStringsSep " " cfg.extraFlags}
           '';
         environment = optionalAttrs (!isMLocate) {