nix-build works

This commit is contained in:
Anton-4 2022-07-27 14:35:39 +02:00
parent b791729046
commit 11fd062a86
No known key found for this signature in database
GPG key ID: A13F4A6E21141925
3 changed files with 14 additions and 2 deletions

View file

@ -351,6 +351,11 @@ pub fn root_dir() -> PathBuf {
path.pop();
path.pop();
// running cargo with --target will put us in the target dir
if path.ends_with("target") {
path.pop();
}
path
}