Subject: bug#32339: "nix import" fails

From: Nils Gillmann <[email-masked]>
Date: Tue, 31 Jul 2018 20:00:33 +0000

Hooray, a bad subject line!

* nixpkgs is on commit d817ccbf832419abdd82bc617e058b8a196f6e98
* guix is on commit 6915d20f05363f61cef9c4ed7ebda3fe5a19325d
* GUIX_PACKAGE_PATH is unset

FWIW, this was while running the Nix daemon with my "service", but it
is not required for the imports.

abyayala$ guix import nix ~/re-src/nixpkgs curl
;;; SSAX warning: Skipping PI: xml

trace: stdenv.isArm is deprecated after 18.03
trace: lib.zip is deprecated, use lib.zipAttrsWith instead
trace: Warning: `showVal` is deprecated and will be removed in the next release, please use `traceSeqN`
trace: `mkStrict' is obsolete; use `mkOverride 0' instead.
trace: `lib.nixpkgsVersion` is deprecated, use `lib.version` instead!
error: stack overflow (possible infinite recursion)
Backtrace:
In guix/import/snix.scm:
    191:9 19 (loop #<input: #{read pipe}# 14> () #f _)
    191:9 18 (loop #<input: #{read pipe}# 14> () #f _)
    191:9 17 (loop #<input: #{read pipe}# 14> () #f _)
    191:9 16 (loop #<input: #{read pipe}# 14> () #f _)
    191:9 15 (loop #<input: #{read pipe}# 14> () #f _)
    191:9 14 (loop #<input: #{read pipe}# 14> () #f _)
    191:9 13 (loop #<input: #{read pipe}# 14> () #f _)
    191:9 12 (loop #<input: #{read pipe}# 14> () #f _)
    191:9 11 (loop #<input: #{read pipe}# 14> () #f _)
    191:9 10 (loop #<input: #{read pipe}# 14> () #f _)
    191:9  9 (loop #<input: #{read pipe}# 14> () #f _)
    191:9  8 (loop #<input: #{read pipe}# 14> () #f _)
    191:9  7 (loop #<input: #{read pipe}# 14> () #f _)
    191:9  6 (loop #<input: #{read pipe}# 14> () #f _)
    191:9  5 (loop #<input: #{read pipe}# 14> () #f _)
    191:9  4 (loop #<input: #{read pipe}# 14> () #f _)
    191:9  3 (loop #<input: #{read pipe}# 14> () #f _)
    191:9  2 (loop #<input: #{read pipe}# 14> () #f _)
    191:9  1 (loop #<input: #{read pipe}# 14> () #f _)
In sxml/upstream/SSAX.scm:
  1896:21  0 (_ #<input: #{read pipe}# 14> #f #<procedure 7f8b08622…> …)

sxml/upstream/SSAX.scm:1896:21: Throw to key `parser-error' with args `(#<input: #{read pipe}# 14> "EOF while 
reading a token " "reading char data")'.