flake.nix: fix buildRustPackage src
This commit is contained in:
parent
dda6953535
commit
bbe57ffa66
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue