mirror of
https://github.com/nix-community/naersk
synced 2024-11-15 00:17:10 +00:00
Fix cargo build
This commit is contained in:
parent
2692cfbfc1
commit
43bbee9b70
1 changed files with 3 additions and 3 deletions
6
test.nix
6
test.nix
|
@ -110,11 +110,11 @@ rec
|
|||
cargoCargoToml.dependencies;
|
||||
};
|
||||
|
||||
cargoCargoLock = "${sources.rust}/Cargo.lock";
|
||||
cargoCargoLock = builtinz.readTOML true "${sources.rust}/Cargo.lock";
|
||||
};
|
||||
naersk.buildPackage cargoSrc
|
||||
{ cargolockPath = cargoCargoLock;
|
||||
cargotomlPath = builtinz.writeTOML cargoCargoToml';
|
||||
{ cargolock = cargoCargoLock;
|
||||
cargotoml = cargoCargoToml';
|
||||
|
||||
# Tests fail, although cargo seems to operate normally
|
||||
doCheck = false;
|
||||
|
|
Loading…
Reference in a new issue