From bbe57ffa665caf7d45ef20fed0baa3c2e5ac6cdf Mon Sep 17 00:00:00 2001 From: Astro Date: Tue, 9 Nov 2021 01:05:54 +0100 Subject: [PATCH] flake.nix: fix buildRustPackage src --- flake.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;