unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#25053: guix import nix does not work
@ 2016-11-28 15:41 ng0
  2016-11-28 22:00 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: ng0 @ 2016-11-28 15:41 UTC (permalink / raw)
  To: 25053

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#25053: guix import nix does not work
  2016-11-28 15:41 bug#25053: guix import nix does not work ng0
@ 2016-11-28 22:00 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2016-11-28 22:00 UTC (permalink / raw)
  To: ng0; +Cc: 25053-done

ng0 <ng0@libertad.pw> 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’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-28 22:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-28 15:41 bug#25053: guix import nix does not work ng0
2016-11-28 22:00 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).