bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#43810: ripgrep and fd create .crates.toml which reference to build d


From: Zhu Zihao
Subject: bug#43810: ripgrep and fd create .crates.toml which reference to build dir.
Date: Mon, 5 Oct 2020 15:45:45 +0800 (CST)

In Guix commit 7cb4440951fa3a91d48c63ac5be123636abfcf82. I found that ripgrep and fd will emit a `.crates.toml` file outside of FHS structure(at the root of profile).

For example, the .crates.toml file from fd looks like.

```
[v1]
"fd-find 8.1.1 (path+file:///tmp/guix-build-fd-8.1.1.drv-0/fd-find-8.1.1)" = ["fd"]
```

This file records the build directory, I think we'd better to exclude this to improve the determinisitc(If this file doesn't affect the functionality).

If we can't exclude it, it's better to place it in a proper place, if we leave it in the root of profile, .crates.toml from different rust apps will override each other.


 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]