From ccdcc1891b01b43069991cf58a588145b7559090 Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Fri, 27 May 2022 23:35:22 -0400 Subject: meta: API Scaffold Initial implementation of a CRUD API for Ships. Should probably at some point support getting specific Ships based on something like shasum or an ID, so that solard can more easily pull it down --- flake.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 4764b03..d1f211b 100644 --- a/flake.nix +++ b/flake.nix @@ -9,12 +9,18 @@ system: let pkgs = nixpkgs.legacyPackages."${system}"; naersk-lib = naersk.lib."${system}"; + + deps = with pkgs; [ + libvirt + ]; in rec { # `nix build` packages.homeworld = naersk-lib.buildPackage { pname = "homeworld"; root = ./.; + nativeBuildInputs = deps; + buildInputs = deps; }; defaultPackage = packages.homeworld; @@ -26,7 +32,7 @@ # `nix develop` devShell = pkgs.mkShell { - nativeBuildInputs = with pkgs; [ rustc cargo ]; + nativeBuildInputs = with pkgs; [ rustc cargo ] ++ deps; }; } ); -- cgit v1.2.3