From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: bug#35640: Make USB modems just work on Guix Date: Mon, 13 May 2019 23:04:43 +0200 Message-ID: <20190513210443.y2xs7fsvxwng3zjz@pelzflorian.localdomain> References: <20190508182607.wcjfxkoqwcvzrdmt@pelzflorian.localdomain> <87v9yjd51k.fsf@gnu.org> <20190513205720.k2bruoaa5zpdslhu@pelzflorian.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:47482) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQI99-00021I-46 for bug-guix@gnu.org; Mon, 13 May 2019 17:06:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQI97-0001hw-51 for bug-guix@gnu.org; Mon, 13 May 2019 17:06:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32953) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hQI94-0001fq-NC for bug-guix@gnu.org; Mon, 13 May 2019 17:06:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hQI94-0003AE-GB for bug-guix@gnu.org; Mon, 13 May 2019 17:06:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <20190513205720.k2bruoaa5zpdslhu@pelzflorian.localdomain> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 35640@debbugs.gnu.org On Mon, May 13, 2019 at 10:57:20PM +0200, pelzflorian (Florian Pelz) wrote: > Also attached is my current work-in-progress package for > USB_ModeSwitch. It does *not* work because I cannot figure out how to > use tcl in the package’s inputs field. > > #:use-module gives me errors; only (@ (gnu packages tcl) tcl) appears > to work. > I uploaded + (inputs `(("libusb" ,libusb) + ("tcl" ,(error tcl:tcl)))) This was a mistake, I mean + (inputs `(("libusb" ,libusb) + ("tcl" tcl:tcl))) It still gives me errors when used: florian@florianmacbook ~/git/guix [env]$ ./pre-inst-env guix install usb-modeswitch:dispatcher usb-modeswitch Backtrace: 18 (apply-smob/1 #) In ice-9/boot-9.scm: 705:2 17 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 16 (_ #(#(#))) In guix/ui.scm: 1747:12 15 (run-guix-command _ . _) In ice-9/boot-9.scm: 829:9 14 (catch _ _ # _) 829:9 13 (catch _ _ # _) In guix/scripts/package.scm: 915:10 12 (_) In guix/status.scm: 768:4 11 (call-with-status-report _ _) In guix/scripts/package.scm: 923:14 10 (_) 882:6 9 (process-actions # _) In guix/ui.scm: 1096:4 8 (show-manifest-transaction # _ _ #:dry-run? _) In srfi/srfi-1.scm: 628:19 7 (mapn ("usb-modeswitch" "usb-modeswitch") (("2.5.2" "2.5.2") ("dispatcher" "out") (# #)) 2) In guix/ui.scm: 1101:23 6 (_ "usb-modeswitch" "2.5.2" "dispatcher" #) In guix/packages.scm: 1296:13 5 (package-output # # _ _) 936:16 4 (cache! # # ("x86_64-linux" . #t) _) 1254:22 3 (thunk) 936:16 2 (cache! # # ("x86_64-linux" #f #t) _) 1042:46 1 (thunk) In gnu/packages/libusb.scm: 655:12 0 (inputs _) gnu/packages/libusb.scm:655:12: In procedure inputs: error: tcl:tcl: unbound variable Regards, Florian