summaryrefslogtreecommitdiffstats
path: root/modules/enstate.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-30 20:11:50 +0000
committertv <tv@krebsco.de>2026-12-01 00:22:40 +0000
commitd2e3f6081739ff793cdda996550751e922ab4497 (patch)
tree8b8c63a8b2a06aea643582d474d35d853d99d289 /modules/enstate.nix
parentcc460231e532398037514d138a0ff5a740a47140 (diff)
enstate: build with hrm's crate2nix helper
From the populated source, as the NixOS module, so both are of the same revision; with the source's Cargo.json if it has one, else from its Cargo.lock. The package set gets the inputs for it.
Diffstat (limited to 'modules/enstate.nix')
-rw-r--r--modules/enstate.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/enstate.nix b/modules/enstate.nix
index 483718ac..79063d7f 100644
--- a/modules/enstate.nix
+++ b/modules/enstate.nix
@@ -1,3 +1,4 @@
-{ inputs, ... }: {
+{ inputs, pkgs, ... }: {
imports = [ (inputs.enstate + "/nix/module.nix") ];
+ enstate.package = pkgs.enstate;
}