Hey! Christopher Baines skribis: > → guix build -f test.scm > Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'... > Backtrace: > 4 (primitive-load "/gnu/store/8mv5bpjgxg9c369xnbb5rf1kv9r?") > In ice-9/eval.scm: > 619:8 3 (_ #(#(#(#(#(#(#(#(#(#(#(?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?)) > 182:19 2 (proc #(#(#(#(#(#(#(#(#(#(# ?) ?) ?) ?) ?) ?) ?) ?) ?) ?)) > 142:16 1 (compile-top-call # ?) > In unknown file: > 0 (%resolve-variable (7 . call-with-new-thread) #) > > ERROR: In procedure %resolve-variable: > Unbound variable: call-with-new-thread > guix build: error: You found a bug: the program '/gnu/store/8mv5bpjgxg9c369xnbb5rf1kv9r6z5hw-compute-guix-derivation' > failed to compute the derivation for Guix (version: "e02c2f85b36ce1c733bd908a210ce1182bdd2560"; system: "x86_64-linux"; > host version: "a8cb1e72ef351330d1521833c1b270dcc0da593f"; pull-version: 1). A summary of the IRC discussion and experiments: 1. The underlying problem is a missing (ice-9 threads) import in the ‘compute-guix-derivation’ script, fixed in 05e783871c2c69b402e088863d46f5be7915ac74. 2. The ‘%quirks’ mechanism in (guix channels) doesn’t work as is here because what we would need to change is the #:guile parameter passed to ‘gexp->script’ (the one defined in build-self.scm). Attached a patch to add a quirk but that doesn’t solve the problem. Possible solutions include: a. Changing the value returned by ‘default-guile’ as used by ‘gexp->script’. b. Supporting the definition of quirks that patch the code. Thanks, Ludo’.