Hi Marius,
> Can you provide a config.scm that reproduces this issue?
Yes, I've attached a basic config.scm that reproduces the error.
(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