all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Zhu Zihao" <all_but_last@163.com>
To: 43810@debbugs.gnu.org
Subject: bug#43810: ripgrep and fd create .crates.toml which reference to build dir.
Date: Mon, 5 Oct 2020 15:45:45 +0800 (CST)	[thread overview]
Message-ID: <1a426c2b.160d.174f7b9389f.Coremail.all_but_last@163.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 651 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 1122 bytes --]

             reply	other threads:[~2020-10-05 12:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-05  7:45 Zhu Zihao [this message]
2020-10-06  7:12 ` bug#43810: ripgrep and fd create .crates.toml which reference to build dir Efraim Flashner
2020-10-06  7:40 ` Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1a426c2b.160d.174f7b9389f.Coremail.all_but_last@163.com \
    --to=all_but_last@163.com \
    --cc=43810@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.