Files
war-in-tunnels/default.nix
T
2026-03-02 16:15:20 +00:00

15 lines
398 B
Nix

{
lib,
rustPlatform,
packageName,
pkg-config,
# add nixpkgs if your dependencies requires system libraries
}:
rustPlatform.buildRustPackage {
name = "${packageName}";
src = ./.;
# buildInputs = [ ]; <-- add nixpkgs if your dependencies requires system libraries
nativeBuildInputs = [ pkg-config ];
cargoHash = lib.fakeHash; # <-- Put your real hash here after failed nix build
}