Fix cargo build

This commit is contained in:
Nicolas Mattia 2019-07-31 15:54:51 +02:00
parent 2692cfbfc1
commit 43bbee9b70

View file

@ -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;