GNU bug report logs - #61114
Improvement: Make guix import crate easier to use

Previous Next

Package: guix;

Reported by: Benjamin Cherry <ben <at> devcarbon.com>

Date: Sat, 28 Jan 2023 09:24:01 UTC

Severity: normal

To reply to this bug, email your comments to 61114 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#61114; Package guix. (Sat, 28 Jan 2023 09:24:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Benjamin Cherry <ben <at> devcarbon.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 28 Jan 2023 09:24:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Benjamin Cherry <ben <at> devcarbon.com>
To: "bug-guix <at> gnu.org" <bug-guix <at> gnu.org>
Subject: Improvement: Make guix import crate easier to use
Date: Sat, 28 Jan 2023 00:36:20 +0000
[Message part 1 (text/plain, inline)]
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]
[Message part 2 (text/html, inline)]
[image (image/png, inline)]

This bug report was last modified 1 year and 87 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.