about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-11-27 19:00:23 +0100
committerAlan Pearce2024-11-27 19:00:23 +0100
commitec4946ee959b2d7d28287e9cd4643a0698833f6b (patch)
treefd16d437920cefb0ec7b269362555ea2a796a4c9
parent174ad04905da9709e4aef366e14aa438e58e5b0b (diff)
downloadsearchix-ec4946ee959b2d7d28287e9cd4643a0698833f6b.tar.lz
searchix-ec4946ee959b2d7d28287e9cd4643a0698833f6b.tar.zst
searchix-ec4946ee959b2d7d28287e9cd4643a0698833f6b.zip
fix: enable using module in pure evaluation mode
-rw-r--r--nix/modules/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/modules/default.nix b/nix/modules/default.nix
index 3186236..b3a0211 100644
--- a/nix/modules/default.nix
+++ b/nix/modules/default.nix
@@ -10,7 +10,7 @@ let
   inherit (builtins) fromTOML readFile;
   cfg = config.services.searchix;
 
-  package = self.packages.default;
+  package = self.packages.${pkgs.system}.default;
 
   defaults = fromTOML (readFile ../../defaults.toml);