From 2fc305c8bdca7e0c370354e85d81225cdc43887b Mon Sep 17 00:00:00 2001 From: Bailey Stevens Date: Thu, 21 Sep 2023 17:54:02 -0400 Subject: [PATCH] Uses colmena package instead of overlay. --- flake.nix | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index ee112be..4b6d836 100644 --- a/flake.nix +++ b/flake.nix @@ -13,12 +13,8 @@ flake-utils.lib.eachDefaultSystem (system: let # nixpkgs for native system. - pkgs = import nixpkgs { - inherit system; - overlays = [ - inputs.colmena.overlay - ]; - }; + pkgs = import nixpkgs { inherit system; }; + colmena = inputs.colmena.packages."${system}".colmena; # Native VM config. riversong = nixpkgs.lib.nixosSystem { inherit pkgs; @@ -32,7 +28,7 @@ in rec { # Install colmena in dev shell for deployment. devShell = pkgs.mkShell { - packages = with pkgs; [ colmena ]; + packages = [ colmena ]; }; # Run testing VM using `nix run` packages.default = riversong.config.system.build.vm;