Subject: Cannot install packages in USB image

From: Marius Bakke <[email-masked]>
Date: Mon, 22 May 2017 22:48:18 +0200

I tried installing 'shadow' on the live USB image, but Guix crashes at
the very end. Here's an example:

root@gnu ~# guix package -i hello

[download/build succeeds, and then..]

Backtrace:
In ice-9/boot-9.scm:
 160: 18 [catch #t #<catch-closure 8c5d20> ...]
In unknown file:
   ?: 17 [apply-smob/1 #<catch-closure 8c5d20>]
In ice-9/boot-9.scm:
  66: 16 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 15 [eval # #]
In ice-9/boot-9.scm:
2412: 14 [save-module-excursion #<procedure 8e6940 at ice-9/boot-9.scm:4084:3 ()>]
4089: 13 [#<procedure 8e6940 at ice-9/boot-9.scm:4084:3 ()>]
1734: 12 [%start-stack load-stack #<procedure 8ef240 at ice-9/boot-9.scm:4080:10 ()>]
1739: 11 [#<procedure 8f8c30 ()>]
In unknown file:
   ?: 10 [primitive-load "/gnu/store/g4qp82d257pxllw4m1s478vp2s69qdrb-info-dir-builder"]
In ice-9/eval.scm:
 505: 9 [#<procedure 79b520 at ice-9/eval.scm:499:4 (exp)> (begin # # # ...)]
In ice-9/psyntax.scm:
1107: 8 [expand-top-sequence ((begin # # # ...)) () ((top)) ...]
 990: 7 [scan ((begin (use-modules # # ...) (define # #) ...)) () ...]
 990: 6 [scan ((use-modules # # ...) (define # #) (define # #) ...) () ...]
 279: 5 [scan ((# #) #(syntax-object *unspecified* # #)) () (()) ...]
In ice-9/boot-9.scm:
3622: 4 [process-use-modules ((#) (#) (#) (#))]
 712: 3 [map #<procedure 8575a0 at ice-9/boot-9.scm:3622:25 (mif-args)> (# # # #)]
3623: 2 [#<procedure 8575a0 at ice-9/boot-9.scm:3622:25 (mif-args)> (#)]
2903: 1 [resolve-interface (guix build utils) #:select ...]
In unknown file:
   ?: 0 [scm-error misc-error #f ...]

ERROR: In procedure scm-error:
ERROR: no code for module (guix build utils)
builder for `/gnu/store/0rgfpx2wjxfxld0vq9nmgkl0kpvc6w37-info-dir.drv' failed with exit code 1
cannot build derivation `/gnu/store/i6wkh2h6zgh08mx2xic8khyc1s138fj5-profile.drv': 1 dependencies couldn't be built
guix package: error: build failed: build of `/gnu/store/i6wkh2h6zgh08mx2xic8khyc1s138fj5-profile.drv' failed