Merge pull request #39 from ipetkov/cleanup

buildDepsOnly: remove (now unnecessary) cargoLock check
This commit is contained in:
Ivan Petkov 2022-06-02 21:00:09 -07:00 committed by GitHub
commit 4fe4d14281
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,9 +28,8 @@ let
path = args.src or throwMsg;
cargoToml = path + "/Cargo.toml";
cargoLock = path + "/Cargo.lock";
dummySrc =
if builtins.pathExists cargoToml && builtins.pathExists cargoLock
if builtins.pathExists cargoToml
then mkDummySrc args
else throwMsg;
in