From 3077276d8bdc90894a0bdc6e6e9c9f7a69db0a63 Mon Sep 17 00:00:00 2001 From: ene Date: Sun, 19 Feb 2023 13:42:02 +0100 Subject: Fix(bootstrap): Use a derivation --- flake.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index ce5b2e84..c23d7e32 100644 --- a/flake.nix +++ b/flake.nix @@ -81,9 +81,11 @@ modules = [./hosts/spawn/configuration.nix]; }; + packages."x86_64-linux".default = import ./bootstrap; + apps."x86_64-linux"."install" = { type = "app"; - program = ./bootstrap; + program = "${self.packages."x86_64-linux".default}"; }; apps."x86_64-linux".default = self.apps."x86_64-linux".install; }; -- cgit 1.4.1