From f99d745319e6a3fc840d5785f7afb1fc9774df3d Mon Sep 17 00:00:00 2001 From: d-r-a-b <107967151+d-r-a-b@users.noreply.github.com> Date: Wed, 6 May 2026 10:36:41 -0400 Subject: [PATCH] nixos/command-not-found: don't require lib.mkForce to set dbPath --- nixos/modules/programs/command-not-found/command-not-found.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/programs/command-not-found/command-not-found.nix b/nixos/modules/programs/command-not-found/command-not-found.nix index e6ea41778172..03117e573cf1 100644 --- a/nixos/modules/programs/command-not-found/command-not-found.nix +++ b/nixos/modules/programs/command-not-found/command-not-found.nix @@ -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"); }; }