[Top][All Lists]

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

Re: No Guile development packages were found.

From: mbcladwell
Subject: Re: No Guile development packages were found.
Date: Mon, 27 Jul 2020 13:29:28 -0500
User-agent: Horde Application Framework 5

Quoting Efraim Flashner <>:

On Mon, Jul 27, 2020 at 06:52:52AM -0500, wrote:

I would like to upgrade guile-json in my local store.
I start with
$guix pull
$guix package -u  (didn't do anything)

Builds occur in a chrooted environment, so only the packages added in
the package definition are there. Try adding

 `(("guile" ,guile)))

to the package definition after the build-system line. and (gnu packages
guile) to the top with the other use-modules.

My guile-json now looks like:

(use-modules (guix packages)
             (guix download)
             (guix build-system gnu)
             (guix licenses)
             (gnu packages guile) )

  (name "guile-json")
  (version "4.3.2")
  (source (origin
            (method url-fetch)
(uri (string-append ""; version ".tar.gz"))
  (build-system gnu-build-system)
 `(("guile" ,guile)))
  (synopsis "Hello, Guix world: An example custom Guix package")
   "GNU Hello prints the message \"Hello, world!\" and then exits.  It
serves as an example of standard GNU coding practices.  As such, it supports
command-line arguments, multiple languages, and so on.")
  (home-page "";)
  (license gpl3+))

The results:

mbc@xps:~$ guix package --install-from-file=./Downloads/guile-json/guile-json.scm
guix package: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.

The following package will be upgraded:
   guile-json 3.2.0 → 4.3.2

           1 (primitive-load "/usr/local/bin/guix")
In guix/ui.scm:
  1936:12  0 (run-guix-command _ . _)

guix/ui.scm:1936:12: In procedure run-guix-command:
error: guile: unbound variable

Why doesn't the "Defining Packages" help ( mention guile as an input?

Are guile-2.0-dev packages needed in the Guix Store?

From the error:
           1 (primitive-load "/usr/local/bin/guix")

"/usr/local/bin/guix", not ~/.config/guix/current/bin/guix as mentioned by Julien Lepiller. Is this my problem?


reply via email to

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