From: Tobias Geerinckx-Rice via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 64976-done@debbugs.gnu.org
Subject: bug#64976: guix build: error: invalid character `~' in name
Date: Fri, 04 Aug 2023 21:55:16 +0200 [thread overview]
Message-ID: <831ad95ae0f539a4f791bca40f557939@tobias.gr> (raw)
In-Reply-To: <66fa2e59-3b8b-d489-f247-f90a4b960f1f@gmail.com>
Certain characters are not allowed in store item[0] names. This
restriction was inherited verbatim[1] from Nix.
As such there's no bug here, although you could start a separate
discussion about relaxing these restrictions if you like.
So what to do? url-fetch defaults to the URL's basename as file name,
but you can specify a different one. For example:
(source
(method …)
(uri …)
(file-name (string-append name "-" version ".tar.gz"))
(sha256 …))
Kind regards,
T G-R
Sent from a Web browser. Excuse or enjoy my brevity.
[0]: Top-level file names under /gnu/store.
[1]:
https://git.savannah.gnu.org/cgit/guix.git/tree/nix/libstore/store-api.cc#n58
prev parent reply other threads:[~2023-08-04 19:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-31 13:20 bug#64976: guix build: error: invalid character `~' in name nigko
2023-08-04 19:55 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix [this message]
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=831ad95ae0f539a4f791bca40f557939@tobias.gr \
--to=bug-guix@gnu.org \
--cc=64976-done@debbugs.gnu.org \
--cc=me@tobias.gr \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).