Still doesn't wan't to build.

This commit is contained in:
CronyAkatsuki 2024-03-29 14:50:41 +01:00
parent 1d34b35a72
commit d16d263f2b

View File

@ -3,6 +3,7 @@ with pkgs;
rustPlatform.buildRustPackage rec {
pname = "comet-gog";
version = "e313c8a";
src = fetchFromGitHub {
owner = "imLinguin";
repo = "comet";
@ -10,7 +11,10 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-ctU9yhnlS8x4xY2iUaG7NvPJB4+vJTXzZF2llof4NyM=";
fetchSubmodules = true;
};
cargoLock.lockFile = src + /Cargo.lock;
buildInputs = [ protobuf ];
PROTOC = "${protobuf}/bin/protoc";
PROTOC_INCLUDE = "${protobuf}/include";
nativeBuildInputs = [ protobuf ];
cargoLock.lockFile = src + /Cargo.lock;
}