Fix typo and add target to .gitignore

This commit is contained in:
Anders Christiansen Sørby 2021-12-08 16:50:03 +01:00
parent ec031156ca
commit ebde51ec0e
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
docparse/target
target
/flake.lock
result*

View file

@ -356,7 +356,7 @@ let
if builtins.pathExists cargolock-file then
readTOML (cargolock-file)
else
throw "Naersk requires Cargo.lock to be available in root. Check that it is not in .gitignore and stage it when using git to filer (which flakes does)";
throw "Naersk requires Cargo.lock to be available in root. Check that it is not in .gitignore and stage it when using git to filter sources (which flakes does)";
packageName =
if ! isNull attrs.name