all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* System-level inferiors.
@ 2019-11-19 20:02 brettg
  2019-11-20  1:29 ` brettg
  0 siblings, 1 reply; 7+ messages in thread
From: brettg @ 2019-11-19 20:02 UTC (permalink / raw)
  To: help-guix

Hey all,

I am experimenting with the inferior system a little bit. I am 
attempting to see if I can specify a specific version of the linux-libre 
kernel to be taken from an inferior and applied to my system 
configuration.

(define kernel-channel-inf
   ;; This is the old revision from which
   ;; we will obtain our desired kernel version.
   (list (channel
	 (name 'guix)
	 (url "https://git.savannah.gnu.org/git/guix.git")
	 (commit
           "fd41243c819635795f4e4bdef1e2823db5234e24"))))

(define kernel-inferior-proc
   ;; An inferior representing `kernel-channel-inf'.
   (inferior-for-channels kernel-channel-inf))

(operating-system

   ...

  (kernel (lookup-inferior-packages
	  kernel-inferior-proc "linux-libre" "4.19.81"))

It took me some experimenting to come up with this, in that 
experimenting the channel revision was built and cached. However, when I 
run `guix system build config.scm` with the above code snippet, the 
process just hangs on

Updating channel 'guix' from Git repository at 
'https://git.savannah.gnu.org/git/guix.git'...

I am not sure how to proceed to achieve what I am hoping for. Any 
thoughts?

Brett Gilio

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

end of thread, other threads:[~2019-11-20 16:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-19 20:02 System-level inferiors brettg
2019-11-20  1:29 ` brettg
2019-11-20  1:35   ` brettg
2019-11-20  1:55     ` brettg
2019-11-20  2:05       ` brettg
2019-11-20 10:57         ` Pierre Neidhardt
2019-11-20 16:13           ` brettg

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.