unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#40713: Guix fails to build a system when specifying an inferior package for the kernel
@ 2020-04-19 10:53 pkill9
  2020-04-19 14:01 ` Marius Bakke
  0 siblings, 1 reply; 4+ messages in thread
From: pkill9 @ 2020-04-19 10:53 UTC (permalink / raw)
  To: 40713

I'm getting an error when trying to build a Guix system on the latest
Guix revision (commit ea6594e08e2724c64bc07724a07479fc1633dede):

```
Backtrace:
           1 (primitive-load "/root/.config/guix/current/bin/guix")
In guix/ui.scm:
  1936:12  0 (run-guix-command _ . _)

guix/ui.scm:1936:12: In procedure run-guix-command:
In procedure %package-replacement-real: Wrong type argument:
#<inferior-package linux@5.5.9 7f659c641150>
```

I can't find '%package-replacement-real' anywhere in the source.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#40713: Guix fails to build a system when specifying an inferior package for the kernel
  2020-04-19 10:53 bug#40713: Guix fails to build a system when specifying an inferior package for the kernel pkill9
@ 2020-04-19 14:01 ` Marius Bakke
  2020-04-19 21:46   ` pkill9
  0 siblings, 1 reply; 4+ messages in thread
From: Marius Bakke @ 2020-04-19 14:01 UTC (permalink / raw)
  To: pkill9, 40713

[-- Attachment #1: Type: text/plain, Size: 233 bytes --]

pkill9 <pkill9@runbox.com> writes:

> I'm getting an error when trying to build a Guix system on the latest
> Guix revision (commit ea6594e08e2724c64bc07724a07479fc1633dede):

Can you provide a config.scm that reproduces this issue?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#40713: Guix fails to build a system when specifying an inferior package for the kernel
  2020-04-19 14:01 ` Marius Bakke
@ 2020-04-19 21:46   ` pkill9
  2020-04-20 22:09     ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: pkill9 @ 2020-04-19 21:46 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 40713

[-- Attachment #1: Type: text/plain, Size: 137 bytes --]

Hi Marius,

> Can you provide a config.scm that reproduces this issue?

Yes, I've attached a basic config.scm that reproduces the error.

[-- Attachment #2: config.scm --]
[-- Type: text/x-scheme, Size: 860 bytes --]

(use-modules (gnu)
             (guix inferior) (guix channels)
             (srfi srfi-1))   ;for 'first'

(define channels
  ;; This is the old revision from which we want to
  ;; extract guile-json.
  (list (channel
         (name 'guix)
         (url "https://git.savannah.gnu.org/git/guix.git")
         (commit
          "ea6594e08e2724c64bc07724a07479fc1633dede"))))

(define inferior
  ;; An inferior representing the above revision.
  (inferior-for-channels channels))

(define inferior-linux
  (first (lookup-inferior-packages inferior "linux-libre")))

(define-public base-system-config
  (operating-system

   (kernel inferior-linux)
   
   (host-name "antelope")

   (timezone "Europe/London")

   (bootloader
    (bootloader-configuration
     (bootloader grub-efi-bootloader)))
   
   (file-systems
    %base-file-systems)))

base-system-config

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#40713: Guix fails to build a system when specifying an inferior package for the kernel
  2020-04-19 21:46   ` pkill9
@ 2020-04-20 22:09     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2020-04-20 22:09 UTC (permalink / raw)
  To: pkill9; +Cc: 40713-done

Hi,

pkill9 <pkill9@runbox.com> skribis:

>> Can you provide a config.scm that reproduces this issue?
>
> Yes, I've attached a basic config.scm that reproduces the error.

Fixed in 71977a6c59460e029c91741c8b11f3a544a70486.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-20 22:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-19 10:53 bug#40713: Guix fails to build a system when specifying an inferior package for the kernel pkill9
2020-04-19 14:01 ` Marius Bakke
2020-04-19 21:46   ` pkill9
2020-04-20 22:09     ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).