Subject: bug#25053: closed (Re: bug#25053: guix import nix does not work)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 28 Nov 2016 22:01:02 +0000

Your bug report

#25053: guix import nix does not work

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
25053: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=25053
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#25053: guix import nix does not work
From: [email-masked] (Ludovic Courtès)
To: ng0 <[email-masked]>
Cc: [email-masked]
Date: Mon, 28 Nov 2016 23:00:18 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

ng0 <[email-masked]> skribis:

> I tried to import various packages from nixpkgs, from all kinds
> of levels of the repository, none successful.
>
> ng0@wasp ~$ export NIX_REMOTE=daemon
> ng0@wasp ~$ guix import nix ~/re-src/nixpkgs libreoffice^C
> ng0@wasp ~$ ls ~/re-src/nixpkgs/
> COPYING  default.nix  doc/  lib/  maintainers/  nixos/  pkgs/  README.md
> ng0@wasp ~$ guix import nix ~/re-src/nixpkgs pidgin
> In execvp of : No such file or directory

Oh indeed.  I didn’t notice because I was using ./pre-inst-env with a
valid value for ‘%nix-instantiate’ in (guix config).

Fixed in c062b1eb6c9d799f0015e26b14cd77eaf8d946dd.

Thanks!

Ludo’.

Subject: guix import nix does not work
From: ng0 <[email-masked]>
To: [email-masked]
Date: Mon, 28 Nov 2016 15:41:33 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

I tried to import various packages from nixpkgs, from all kinds
of levels of the repository, none successful.

ng0@wasp ~$ export NIX_REMOTE=daemon
ng0@wasp ~$ guix import nix ~/re-src/nixpkgs libreoffice^C
ng0@wasp ~$ ls ~/re-src/nixpkgs/
COPYING  default.nix  doc/  lib/  maintainers/  nixos/  pkgs/  README.md
ng0@wasp ~$ guix import nix ~/re-src/nixpkgs pidgin
In execvp of : No such file or directory
Backtrace:
In ice-9/boot-9.scm:
 160: 13 [catch #t #<catch-closure 253a180> ...]
In unknown file:
   ?: 12 [apply-smob/1 #<catch-closure 253a180>]
In ice-9/boot-9.scm:
  66: 11 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 10 [eval # #]
In ice-9/boot-9.scm:
2404: 9 [save-module-excursion #<procedure 255d900 at ice-9/boot-9.scm:4051:3 ()>]
4056: 8 [#<procedure 255d900 at ice-9/boot-9.scm:4051:3 ()>]
1727: 7 [%start-stack load-stack ...]
1732: 6 [#<procedure 2571ba0 ()>]
In unknown file:
   ?: 5 [primitive-load "/gnu/store/303r6yzjbyf4kpdkd5hzxylam1m82s1v-guix-0.11.0-4.1f41/bin/.guix-real"]
In guix/ui.scm:
1222: 4 [run-guix-command import "nix" "/home/ng0/re-src/nixpkgs" "pidgin"]
In guix/scripts/import.scm:
 110: 3 [guix-import "nix" "/home/ng0/re-src/nixpkgs" "pidgin"]
In guix/scripts/import/nix.scm:
  85: 2 [guix-import-nix "/home/ng0/re-src/nixpkgs" "pidgin"]
In guix/import/snix.scm:
 459: 1 [nixpkgs->guix-package "/home/ng0/re-src/nixpkgs" "pidgin"]
 215: 0 [#<procedure 32aae60 at guix/import/snix.scm:212:4 (port)> #<input: #{read pipe}# 10>]

guix/import/snix.scm:215:6: In procedure #<procedure 32aae60 at guix/import/snix.scm:212:4 (port)>:
guix/import/snix.scm:215:6: Throw to key `parser-error' with args `(#<input: #{read pipe}# 10> "XML [22], unexpected EOF")'.
ng0@wasp ~$ guix import nix ~/re-src/nixpkgs/pkgs pidgin
In execvp of : No such file or directory
Backtrace:
In ice-9/boot-9.scm:
 160: 13 [catch #t #<catch-closure 2621180> ...]
In unknown file:
   ?: 12 [apply-smob/1 #<catch-closure 2621180>]
In ice-9/boot-9.scm:
  66: 11 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 10 [eval # #]
In ice-9/boot-9.scm:
2404: 9 [save-module-excursion #<procedure 2644900 at ice-9/boot-9.scm:4051:3 ()>]
4056: 8 [#<procedure 2644900 at ice-9/boot-9.scm:4051:3 ()>]
1727: 7 [%start-stack load-stack ...]
1732: 6 [#<procedure 2658ba0 ()>]
In unknown file:
   ?: 5 [primitive-load "/gnu/store/303r6yzjbyf4kpdkd5hzxylam1m82s1v-guix-0.11.0-4.1f41/bin/.guix-real"]
In guix/ui.scm:
1222: 4 [run-guix-command import "nix" "/home/ng0/re-src/nixpkgs/pkgs" "pidgin"]
In guix/scripts/import.scm:
 110: 3 [guix-import "nix" "/home/ng0/re-src/nixpkgs/pkgs" "pidgin"]
In guix/scripts/import/nix.scm:
  85: 2 [guix-import-nix "/home/ng0/re-src/nixpkgs/pkgs" "pidgin"]
In guix/import/snix.scm:
 459: 1 [nixpkgs->guix-package "/home/ng0/re-src/nixpkgs/pkgs" "pidgin"]
 215: 0 [#<procedure 32a7880 at guix/import/snix.scm:212:4 (port)> #<input: #{read pipe}# 10>]

guix/import/snix.scm:215:6: In procedure #<procedure 32a7880 at guix/import/snix.scm:212:4 (port)>:
guix/import/snix.scm:215:6: Throw to key `parser-error' with args `(#<input: #{read pipe}# 10> "XML [22], unexpected EOF")'.
ng0@wasp ~$ guix import nix ~/re-src/nixpkgs/pkgs libreoffice
In execvp of : No such file or directory
Backtrace:
In ice-9/boot-9.scm:
 160: 13 [catch #t #<catch-closure 1a1c060> ...]
In unknown file:
   ?: 12 [apply-smob/1 #<catch-closure 1a1c060>]
In ice-9/boot-9.scm:
  66: 11 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 10 [eval # #]
In ice-9/boot-9.scm:
2404: 9 [save-module-excursion #<procedure 1a3f900 at ice-9/boot-9.scm:4051:3 ()>]
4056: 8 [#<procedure 1a3f900 at ice-9/boot-9.scm:4051:3 ()>]
1727: 7 [%start-stack load-stack ...]
1732: 6 [#<procedure 1a53ba0 ()>]
In unknown file:
   ?: 5 [primitive-load "/gnu/store/303r6yzjbyf4kpdkd5hzxylam1m82s1v-guix-0.11.0-4.1f41/bin/.guix-real"]
In guix/ui.scm:
1222: 4 [run-guix-command import "nix" ...]
In guix/scripts/import.scm:
 110: 3 [guix-import "nix" "/home/ng0/re-src/nixpkgs/pkgs" "libreoffice"]
In guix/scripts/import/nix.scm:
  85: 2 [guix-import-nix "/home/ng0/re-src/nixpkgs/pkgs" "libreoffice"]
In guix/import/snix.scm:
 459: 1 [nixpkgs->guix-package "/home/ng0/re-src/nixpkgs/pkgs" "libreoffice"]
 215: 0 [#<procedure 26a79e0 at guix/import/snix.scm:212:4 (port)> #<input: #{read pipe}# 10>]

guix/import/snix.scm:215:6: In procedure #<procedure 26a79e0 at guix/import/snix.scm:212:4 (port)>:
guix/import/snix.scm:215:6: Throw to key `parser-error' with args `(#<input: #{read pipe}# 10> "XML [22], unexpected EOF")'.
ng0@wasp ~$ guix import nix ~/re-src/nixpkgs libreoffice
In execvp of : No such file or directory
Backtrace:
In ice-9/boot-9.scm:
 160: 13 [catch #t #<catch-closure 244a060> ...]
In unknown file:
   ?: 12 [apply-smob/1 #<catch-closure 244a060>]
In ice-9/boot-9.scm:
  66: 11 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 10 [eval # #]
In ice-9/boot-9.scm:
2404: 9 [save-module-excursion #<procedure 246d900 at ice-9/boot-9.scm:4051:3 ()>]
4056: 8 [#<procedure 246d900 at ice-9/boot-9.scm:4051:3 ()>]
1727: 7 [%start-stack load-stack ...]
1732: 6 [#<procedure 2481ba0 ()>]
In unknown file:
   ?: 5 [primitive-load "/gnu/store/303r6yzjbyf4kpdkd5hzxylam1m82s1v-guix-0.11.0-4.1f41/bin/.guix-real"]
In guix/ui.scm:
1222: 4 [run-guix-command import "nix" "/home/ng0/re-src/nixpkgs" "libreoffice"]
In guix/scripts/import.scm:
 110: 3 [guix-import "nix" "/home/ng0/re-src/nixpkgs" "libreoffice"]
In guix/scripts/import/nix.scm:
  85: 2 [guix-import-nix "/home/ng0/re-src/nixpkgs" "libreoffice"]
In guix/import/snix.scm:
 459: 1 [nixpkgs->guix-package "/home/ng0/re-src/nixpkgs" "libreoffice"]
 215: 0 [#<procedure 31b8d20 at guix/import/snix.scm:212:4 (port)> #<input: #{read pipe}# 10>]

guix/import/snix.scm:215:6: In procedure #<procedure 31b8d20 at guix/import/snix.scm:212:4 (port)>:
guix/import/snix.scm:215:6: Throw to key `parser-error' with args `(#<input: #{read pipe}# 10> "XML [22], unexpected EOF")'.
ng0@wasp ~$ guix import nix ~~/re-src/nixpkgs/pkgs/applications/networking tor
In execvp of : No such file or directory
Backtrace:
In ice-9/boot-9.scm:
 160: 13 [catch #t #<catch-closure 2738da0> ...]
In unknown file:
   ?: 12 [apply-smob/1 #<catch-closure 2738da0>]
In ice-9/boot-9.scm:
  66: 11 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 10 [eval # #]
In ice-9/boot-9.scm:
2404: 9 [save-module-excursion #<procedure 2758900 at ice-9/boot-9.scm:4051:3 ()>]
4056: 8 [#<procedure 2758900 at ice-9/boot-9.scm:4051:3 ()>]
1727: 7 [%start-stack load-stack ...]
1732: 6 [#<procedure 276cba0 ()>]
In unknown file:
   ?: 5 [primitive-load "/gnu/store/303r6yzjbyf4kpdkd5hzxylam1m82s1v-guix-0.11.0-4.1f41/bin/.guix-real"]
In guix/ui.scm:
1222: 4 [run-guix-command import "nix" ...]
In guix/scripts/import.scm:
 110: 3 [guix-import "nix" "~~/re-src/nixpkgs/pkgs/applications/networking" "tor"]
In guix/scripts/import/nix.scm:
  85: 2 [guix-import-nix "~~/re-src/nixpkgs/pkgs/applications/networking" "tor"]
In guix/import/snix.scm:
 459: 1 [nixpkgs->guix-package "~~/re-src/nixpkgs/pkgs/applications/networking" ...]
 215: 0 [#<procedure 3371b00 at guix/import/snix.scm:212:4 (port)> #<input: #{read pipe}# 10>]

guix/import/snix.scm:215:6: In procedure #<procedure 3371b00 at guix/import/snix.scm:212:4 (port)>:
guix/import/snix.scm:215:6: Throw to key `parser-error' with args `(#<input: #{read pipe}# 10> "XML [22], unexpected EOF")'.
ng0@wasp ~$ guix import nix ~~/re-src/nixpkgs/pkgs/applications/networking/p2p tor
In execvp of : No such file or directory
Backtrace:
In ice-9/boot-9.scm:
 160: 13 [catch #t #<catch-closure 1b22060> ...]
In unknown file:
   ?: 12 [apply-smob/1 #<catch-closure 1b22060>]
In ice-9/boot-9.scm:
  66: 11 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 10 [eval # #]
In ice-9/boot-9.scm:
2404: 9 [save-module-excursion #<procedure 1b45900 at ice-9/boot-9.scm:4051:3 ()>]
4056: 8 [#<procedure 1b45900 at ice-9/boot-9.scm:4051:3 ()>]
1727: 7 [%start-stack load-stack ...]
1732: 6 [#<procedure 1b59ba0 ()>]
In unknown file:
   ?: 5 [primitive-load "/gnu/store/303r6yzjbyf4kpdkd5hzxylam1m82s1v-guix-0.11.0-4.1f41/bin/.guix-real"]
In guix/ui.scm:
1222: 4 [run-guix-command import "nix" ...]
In guix/scripts/import.scm:
 110: 3 [guix-import "nix" "~~/re-src/nixpkgs/pkgs/applications/networking/p2p" ...]
In guix/scripts/import/nix.scm:
  85: 2 [guix-import-nix "~~/re-src/nixpkgs/pkgs/applications/networking/p2p" "tor"]
In guix/import/snix.scm:
 459: 1 [nixpkgs->guix-package "~~/re-src/nixpkgs/pkgs/applications/networking/p2p" ...]
 215: 0 [#<procedure 275faa0 at guix/import/snix.scm:212:4 (port)> #<input: #{read pipe}# 10>]

guix/import/snix.scm:215:6: In procedure #<procedure 275faa0 at guix/import/snix.scm:212:4 (port)>:
guix/import/snix.scm:215:6: Throw to key `parser-error' with args `(#<input: #{read pipe}# 10> "XML [22], unexpected EOF")'.
ng0@wasp ~$ guix import nix ~~/re-src/nixpkgs/pkgs/applications/networking/p2p freenet
In execvp of : No such file or directory
Backtrace:
In ice-9/boot-9.scm:
 160: 13 [catch #t #<catch-closure 1c7dda0> ...]
In unknown file:
   ?: 12 [apply-smob/1 #<catch-closure 1c7dda0>]
In ice-9/boot-9.scm:
  66: 11 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 10 [eval # #]
In ice-9/boot-9.scm:
2404: 9 [save-module-excursion #<procedure 1c9d900 at ice-9/boot-9.scm:4051:3 ()>]
4056: 8 [#<procedure 1c9d900 at ice-9/boot-9.scm:4051:3 ()>]
1727: 7 [%start-stack load-stack ...]
1732: 6 [#<procedure 1cb1ba0 ()>]
In unknown file:
   ?: 5 [primitive-load "/gnu/store/303r6yzjbyf4kpdkd5hzxylam1m82s1v-guix-0.11.0-4.1f41/bin/.guix-real"]
In guix/ui.scm:
1222: 4 [run-guix-command import "nix" ...]
In guix/scripts/import.scm:
 110: 3 [guix-import "nix" "~~/re-src/nixpkgs/pkgs/applications/networking/p2p" ...]
In guix/scripts/import/nix.scm:
  85: 2 [guix-import-nix "~~/re-src/nixpkgs/pkgs/applications/networking/p2p" ...]
In guix/import/snix.scm:
 459: 1 [nixpkgs->guix-package "~~/re-src/nixpkgs/pkgs/applications/networking/p2p" ...]
 215: 0 [#<procedure 245cfa0 at guix/import/snix.scm:212:4 (port)> #<input: #{read pipe}# 10>]

guix/import/snix.scm:215:6: In procedure #<procedure 245cfa0 at guix/import/snix.scm:212:4 (port)>:
guix/import/snix.scm:215:6: Throw to key `parser-error' with args `(#<input: #{read pipe}# 10> "XML [22], unexpected EOF")'.
ng0@wasp ~$ guix import nix ~/re-src/nixpkgs/pkgs/applications/networking/p2p tor
In execvp of : No such file or directory
Backtrace:
In ice-9/boot-9.scm:
 160: 13 [catch #t #<catch-closure 17a4da0> ...]
In unknown file:
   ?: 12 [apply-smob/1 #<catch-closure 17a4da0>]
In ice-9/boot-9.scm:
  66: 11 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 10 [eval # #]
In ice-9/boot-9.scm:
2404: 9 [save-module-excursion #<procedure 17c4900 at ice-9/boot-9.scm:4051:3 ()>]
4056: 8 [#<procedure 17c4900 at ice-9/boot-9.scm:4051:3 ()>]
1727: 7 [%start-stack load-stack ...]
1732: 6 [#<procedure 17d8ba0 ()>]
In unknown file:
   ?: 5 [primitive-load "/gnu/store/303r6yzjbyf4kpdkd5hzxylam1m82s1v-guix-0.11.0-4.1f41/bin/.guix-real"]
In guix/ui.scm:
1222: 4 [run-guix-command import "nix" ...]
In guix/scripts/import.scm:
 110: 3 [guix-import "nix" ...]
In guix/scripts/import/nix.scm:
  85: 2 [guix-import-nix "/home/ng0/re-src/nixpkgs/pkgs/applications/networking/p2p" ...]
In guix/import/snix.scm:
 459: 1 [nixpkgs->guix-package "/home/ng0/re-src/nixpkgs/pkgs/applications/networking/p2p" ...]
 215: 0 [#<procedure 22f98a0 at guix/import/snix.scm:212:4 (port)> #<input: #{read pipe}# 10>]

guix/import/snix.scm:215:6: In procedure #<procedure 22f98a0 at guix/import/snix.scm:212:4 (port)>:
guix/import/snix.scm:215:6: Throw to key `parser-error' with args `(#<input: #{read pipe}# 10> "XML [22], unexpected EOF")'.
ng0@wasp ~$ guix import nix ~/re-src/nixpkgs/pkgs/applications/networking/p2p freenet
In execvp of : No such file or directory
Backtrace:
In ice-9/boot-9.scm:
 160: 13 [catch #t #<catch-closure 2279da0> ...]
In unknown file:
   ?: 12 [apply-smob/1 #<catch-closure 2279da0>]
In ice-9/boot-9.scm:
  66: 11 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 10 [eval # #]
In ice-9/boot-9.scm:
2404: 9 [save-module-excursion #<procedure 2299900 at ice-9/boot-9.scm:4051:3 ()>]
4056: 8 [#<procedure 2299900 at ice-9/boot-9.scm:4051:3 ()>]
1727: 7 [%start-stack load-stack ...]
1732: 6 [#<procedure 22adba0 ()>]
In unknown file:
   ?: 5 [primitive-load "/gnu/store/303r6yzjbyf4kpdkd5hzxylam1m82s1v-guix-0.11.0-4.1f41/bin/.guix-real"]
In guix/ui.scm:
1222: 4 [run-guix-command import "nix" ...]
In guix/scripts/import.scm:
 110: 3 [guix-import "nix" ...]
In guix/scripts/import/nix.scm:
  85: 2 [guix-import-nix "/home/ng0/re-src/nixpkgs/pkgs/applications/networking/p2p" ...]
In guix/import/snix.scm:
 459: 1 [nixpkgs->guix-package "/home/ng0/re-src/nixpkgs/pkgs/applications/networking/p2p" ...]
 215: 0 [#<procedure 2efdf00 at guix/import/snix.scm:212:4 (port)> #<input: #{read pipe}# 10>]

guix/import/snix.scm:215:6: In procedure #<procedure 2efdf00 at guix/import/snix.scm:212:4 (port)>:
guix/import/snix.scm:215:6: Throw to key `parser-error' with args `(#<input: #{read pipe}# 10> "XML [22], unexpected EOF")'.
ng0@wasp ~$ ls ~/re-src/nixpkgs/pkgs/applications/networking/p2p
eiskaltdcpp/  freenet/    gnunet/    ldcpp/     ncdc/         qbittorrent/  transmission/             transmission-remote-gtk/  twister/
firestr/      frostwire/  ktorrent/  mldonkey/  opentracker/  retroshare/   transmission-remote-cli/  tribler/