locate: build in correct dbpath

This commit is contained in:
Gregor Kleen
2017-01-05 20:16:48 +01:00
parent cc1ebd1db4
commit 06211e700b
3 changed files with 12 additions and 4 deletions

View File

@@ -17,8 +17,7 @@ in
config = {
environment.variables =
{ LOCATE_PATH = "/var/cache/locatedb";
NIXPKGS_CONFIG = "/etc/nix/nixpkgs-config.nix";
{ NIXPKGS_CONFIG = "/etc/nix/nixpkgs-config.nix";
PAGER = mkDefault "less -R";
EDITOR = mkDefault "nano";
};