mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
nix-build works
This commit is contained in:
parent
b791729046
commit
11fd062a86
3 changed files with 14 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue