bug-guix
[Top][All Lists]
Advanced

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

bug#61114: Improvement: Make guix import crate easier to use


From: Benjamin Cherry
Subject: bug#61114: Improvement: Make guix import crate easier to use
Date: Sat, 28 Jan 2023 00:36:20 +0000

I very happily discovered guix import after trying to write a package def for a rust crate, but ran into this:
;;; Failed to autoload string->semver-range in (semver ranges):
;;; no code for module (semver ranges)
<<backtrace>>
guix/import/crate.scm:260:26: In procedure find-crate-version:
error: string->semver-range: unbound variable

Turns out it's because guix import has a soft dep on guile-semver, but intentionally leaves it out since most users won't need it.  (See: http://logs.guix.gnu.org/guix/2023-01-28.log#005327)

The dependency is small: 0.4MB.  Could we either add it as a hard dep, or at least document at https://guix.gnu.org/manual/en/html_node/Invoking-guix-import.html so it is easier to discover how to use guix import crate?  

Probably same sort of thing for 
Guile-Lib for the go importer.

Thanks!

Best Regards,
Benjamin Cherry
--
devcarbon - LLC, Owner
devcarbon.com

image

reply via email to

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