mix-build-system does not support git-version output

  • Open
  • quality assurance status badge
Details
One participant
  • paul
Owner
unassigned
Submitted by
paul
Severity
normal
P
P
paul wrote 4 days ago
(address . bug-guix@gnu.org)
e2d1e602-d537-4687-88d7-12d2c6a6ae75@autistici.org
Dear Guix,

consider the following procedure invokation:

scheme@(guile-user)> (package-name->elixir-name "elixir-a-pkg-1.2.3")
$1 = "a_pkg"

This is the behaviour manifested when the procedure is called with a
version created with the git-version procedure from (guix git-download):

scheme@(guile-user)> (package-name->elixir-name "a_pkg-0.0.0-0.e51e36e")
$1 = "a_pkg_0.0.0

while the expected behaviour would be:

scheme@(guile-user)> (package-name->elixir-name "a_pkg-0.0.0-0.e51e36e")
$1 = "a_pkg"

I'm sending a patch addressing this, thank you for your work!
Attachment: file
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 73454@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 73454
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch