nixos/command-not-found: don't require lib.mkForce to set dbPath
This commit is contained in:
@@ -62,7 +62,7 @@ in
|
||||
{
|
||||
programs.command-not-found = {
|
||||
enable = lib.mkDefault (builtins.pathExists cfg.dbPath);
|
||||
dbPath = pkgs.path + "/programs.sqlite";
|
||||
dbPath = lib.mkDefault (pkgs.path + "/programs.sqlite");
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user