fix: enable using module in pure evaluation mode
Alan Pearce alan@alanpearce.eu
Wed, 27 Nov 2024 18:57:58 +0100
2 files changed, 4 insertions(+), 2 deletions(-)
M nix/modules/default.nix → nix/modules/default.nix
@@ -1,3 +1,5 @@+self: + { config , lib , pkgs @@ -8,7 +10,7 @@ let inherit (builtins) fromTOML readFile; cfg = config.services.searchix; - package = pkgs.callPackage ../.. { }; + package = self.packages.default; defaults = fromTOML (readFile ../../defaults.toml);