diff --git a/flake.nix b/flake.nix index e5c6b12..c381ec4 100644 --- a/flake.nix +++ b/flake.nix @@ -24,7 +24,6 @@ buildRustPackage = args: naersk-lib.buildPackage ({ root = ./.; - src = ./heliwatch; nativeBuildInputs = with pkgs; [ pkg-config ]; buildInputs = with pkgs; [ openssl ]; } // args); @@ -32,12 +31,15 @@ # `nix build` packages.heliwatch = buildRustPackage { pname = "heliwatch"; + src = ./heliwatch; }; packages.http-json = buildRustPackage { pname = "http-json"; + src = ./http-json; }; packages.collectd-stats = buildRustPackage { pname = "collectd-stats"; + src = ./collectd-stats; }; defaultPackage = packages.heliwatch; checks = packages;