diff --git a/lib/meat.ml b/lib/meat.ml index 79f0d1f..ddf6b62 100644 --- a/lib/meat.ml +++ b/lib/meat.ml @@ -41,6 +41,7 @@ let do_build () = in do_cmd @@ "nix-build --log-format internal-json -v --out-link " ^ tmpdir ^ "/build " ^ build_target ^ " |& nom --json" + >>= fun () -> do_cmd @@ "dix /nix/var/nix/profiles/system " ^ tmpdir ^ "/build" >>= fun () -> do_cmd @@ "sudo nix-env --set -p /nix/var/nix/profiles/system " ^ tmpdir ^ "/build" diff --git a/nix/module.nix b/nix/module.nix index 21e1d2e..a45e9ef 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -26,6 +26,7 @@ in cfg.package pkgs.nh # for now.. pkgs.nix-output-monitor + pkgs.dix ]; }; }