unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#61114: Improvement: Make guix import crate easier to use
@ 2023-01-28  0:36 Benjamin Cherry
  0 siblings, 0 replies; only message in thread
From: Benjamin Cherry @ 2023-01-28  0:36 UTC (permalink / raw)
  To: 61114

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

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](https://devcarbon.com/)
[image]

[-- Attachment #2.1: Type: text/html, Size: 4947 bytes --]

[-- Attachment #2.2: image --]
[-- Type: image/png, Size: 3302 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-28 10:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-28  0:36 bug#61114: Improvement: Make guix import crate easier to use Benjamin Cherry

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).