uniffi-bindgen: use cargoLock.lockFile

This commit is contained in:
Vincent Haupert 2022-07-20 13:19:42 +02:00 committed by Van Tuan Vo
parent a070b2e873
commit e2759f1b17
No known key found for this signature in database
GPG key ID: 7C96B1B77958A566

View file

@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-A6Zd1jfhoR4yW2lT5qYE3vJTpiJc94pK/XQmfE2QLFc=";
};
cargoLock.lockFileContents = builtins.readFile ./Cargo.lock;
cargoLock.lockFile = ./Cargo.lock;
cargoBuildFlags = [ "-p uniffi_bindgen" ];
cargoTestFlags = [ "-p uniffi_bindgen" ];