From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: Re: "no code for module" Date: Sun, 29 Dec 2019 00:03:19 +0100 Message-ID: <218506A8-CC07-47D1-B1F1-A32E8E78E4DA@lepiller.eu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44329) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilL7L-000380-QH for help-guix@gnu.org; Sat, 28 Dec 2019 18:03:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ilL7K-0006zS-MS for help-guix@gnu.org; Sat, 28 Dec 2019 18:03:31 -0500 Received: from lepiller.eu ([2a00:5884:8208::1]:36182) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ilL7K-0006an-1q for help-guix@gnu.org; Sat, 28 Dec 2019 18:03:30 -0500 In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org, Nathan Dehnel Le 28 d=C3=A9cembre 2019 23:28:50 GMT+01:00, Nathan Dehnel a =C3=A9crit : >I made a package which is basically a clone of the "hello" package >example=2E > >(use-modules (guix packages) > (guix download) > (guix build-system gnu) > (guix licenses)) >(define-public deadbeef > (package > (name "deadbeef") > (version "1=2E8=2E2") > (source (origin > (method url-fetch) > (uri (string-append >"https://github=2Ecom/DeaDBeeF-Player/deadbeef/archive/" version > "=2Etar=2Egz")) > (sha256 > (base32 > "1wsx62gi1bfd9rx5br2gprq4q3sfp7iqj1inxhhiqjasbm85vg50")))) > (build-system gnu-build-system) > (synopsis "A music player for *nix-like systems and OS X") > (description > "GNU Hello prints the message \"Hello, world!\" and then exits=2E It >serves as an example of standard GNU coding practices=2E As such, it >supports >command-line arguments, multiple languages, and so on=2E") > (home-page "https://deadbeef=2Esourceforge=2Eio/") > (license gpl2))) > >I added it to a channel, and added the channel, then ran guix pull=2E I >got this error: > >(repl-version 0 0) >(exception misc-error (value #f) (value "~A ~S") (value ("no code for >module" (deadbeef))) (value #f)) > >Any idea what the problem is? I think you need to make it an actual guile module, like this: (define-module (deadbeef) #:use-module (guix packages) #:use-module (guix build-system gnu) =E2=80=A6) Instead of simple use-modules=2E Does it make sense?