From: zimoun <zimon.toutoune@gmail.com>
To: Antonio Carlos Padoan Junior <acpadoanjr@yahoo.com.br>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: guix package path
Date: Mon, 19 Dec 2022 15:35:05 +0100 [thread overview]
Message-ID: <87cz8fo412.fsf@gmail.com> (raw)
In-Reply-To: <87pmcfzjgc.fsf@yahoo.com.br>
Hi,
On Mon, 19 Dec 2022 at 13:06, Antonio Carlos Padoan Junior <acpadoanjr@yahoo.com.br> wrote:
> ~$ guix show -L /home/antonio/git/my-guix sbcl-lispiec
> guix show: error: sbcl-lispiec: package not found
>
> ~$ guix build -L /home/antonio/git/my-guix sbcl-lispiec
> guix build: error: sbcl-lispiec: unknown package
The issue is this snippet:
--8<---------------cut here---------------start------------->8---
(define-public gtklp
(let ((toolchain (specification->package "clang-toolchain@10")))
(package-with-c-toolchain gtklp-bad-tool `(("toolchain" ,toolchain)))))
--8<---------------cut here---------------end--------------->8---
and to be precise, it seems ’specification->package’. If it is removed,
and for example, adding #:use-module (gnu packages llvm) and
--8<---------------cut here---------------start------------->8---
(define-public gtklp
(let ((toolchain clang-toolchain-10))
(package
(inherit
(package-with-c-toolchain gtklp-bad-tool `(("toolchain" ,toolchain))))
(name "gtklp-with-clang"))))
--8<---------------cut here---------------end--------------->8---
Then all seems to work. Therefore, the same should fix
GUIX_PACKAGE_PATH.
Well, I do not know why it does not work as expected. Maybe an issue
with Guile modules and compilation.
Back to your original issue. Using
26f397ee26c2da6961a2ef893270ea03986ee55e from master and the channels
file:
--8<---------------cut here---------------start------------->8---
$ cat channels.scm
(list (channel
(name 'guix)
(url "https://git.savannah.gnu.org/git/guix.git")
(branch "master")
(commit
"c8316c1e47ce2ace5474cbcda03555cf915b4fce"))
(channel
(name 'mine)
(url "file:///tmp/my-guix")
(branch "master")))
$ guix time-machine -C /tmp/channels.scm -- build sbcl-lispiec
/gnu/store/giwpdx5kcwfry3bx2yc90084nkmx7283-sbcl-lispiec-1.0.2
--8<---------------cut here---------------end--------------->8---
And note that,
--8<---------------cut here---------------start------------->8---
$ guix repl -q -L /tmp/my-guix
GNU Guile 3.0.8
Copyright (C) 1995-2021 Free Software Foundation, Inc.
Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.
Enter `,help' for help.
scheme@(guix-user)> ,use(guix)
scheme@(guix-user)> ,use(my-packages extra)
scheme@(guix-user)> ,build sbcl-lispiec
$1 = "/gnu/store/giwpdx5kcwfry3bx2yc90084nkmx7283-sbcl-lispiec-1.0.2"
scheme@(guix-user)>
--8<---------------cut here---------------end--------------->8---
Cheers,
simon
next prev parent reply other threads:[~2022-12-19 15:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87wn6nzx2g.fsf.ref@yahoo.com.br>
2022-12-19 7:12 ` guix package path Antonio Carlos Padoan Junior
2022-12-19 10:47 ` zimoun
2022-12-19 12:06 ` Antonio Carlos Padoan Junior
2022-12-19 14:35 ` zimoun [this message]
2022-12-20 21:38 ` Antonio Carlos Padoan Junior
2022-12-21 22:42 ` Ludovic Courtès
2022-12-30 14:57 ` zimoun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87cz8fo412.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=acpadoanjr@yahoo.com.br \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.