[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#64976: closed (guix build: error: invalid character `~' in name)
From: |
GNU bug Tracking System |
Subject: |
bug#64976: closed (guix build: error: invalid character `~' in name) |
Date: |
Fri, 04 Aug 2023 19:56:02 +0000 |
Your message dated Fri, 04 Aug 2023 21:55:16 +0200
with message-id <831ad95ae0f539a4f791bca40f557939@tobias.gr>
and subject line Re: guix build: error: invalid character `~' in name
has caused the debbugs.gnu.org bug report #64976,
regarding guix build: error: invalid character `~' in name
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)
--
64976: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64976
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message ---
Subject: |
guix build: error: invalid character `~' in name |
Date: |
Mon, 31 Jul 2023 18:20:46 +0500 |
Hello,
When running "guix build -f alps.scm" where alps.scm uses url-fetch with
(uri
"https://exa.phys.s.u-tokyo.ac.jp/archive/MateriApps/src/alps_20220304~r7871.orig.tar.gz")
the following error occurs
guix build: error: invalid character `~' in name
'alps_20220304~r7871.orig.tar.gz.drv'
Bug was noted at
repository URL: https://git.savannah.gnu.org/git/guix.git
commit: c173819c8e5235ce02d60b79bd88b10023a7c614
branch: master
alps.scm
Description: Text Data
--- End Message ---
--- Begin Message ---
Subject: |
Re: guix build: error: invalid character `~' in name |
Date: |
Fri, 04 Aug 2023 21:55:16 +0200 |
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
--- End Message ---
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#64976: closed (guix build: error: invalid character `~' in name),
GNU bug Tracking System <=