unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Cannot install packages
@ 2021-01-24 13:52 Xinglu Chen
  2021-02-20 15:15 ` Xinglu Chen
  0 siblings, 1 reply; 2+ messages in thread
From: Xinglu Chen @ 2021-01-24 13:52 UTC (permalink / raw)
  To: help-guix

I am trying to install Guix on NixOS, thanks to this[0] repo, I was able to
install Guix.  But I cannot seem to install packages with it, when I run
`guix pull`, I get

$ guix pull
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to c95f7dc (54 new commits)...
Building from this channel:
  guix      https://git.savannah.gnu.org/git/guix.git	c95f7dc
downloading from https://ci.guix.gnu.org/nar/lzip/q0s3bi0by383cqzl9zz1wf74p6pdl3fc-libx11-1.6.A-doc ...
Backtrace:
           3 (apply-smob/1 #<catch-closure 7f6fd2b80920>)
In ice-9/boot-9.scm:
    705:2  2 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
In ice-9/eval.scm:
    619:8  1 (_ #(#(#<directory (guile-user) 7f6fd27e8140>)))
In guix/ui.scm:
  2117:12  0 (run-guix-command _ . _)

guix/ui.scm:2117:12: In procedure run-guix-command:
Wrong type to apply: #f
substitution of /gnu/store/q0s3bi0by383cqzl9zz1wf74p6pdl3fc-libx11-1.6.A-doc failed
guix pull: error: some substitutes for the outputs of derivation `/gnu/store/mvf88n2v90jjxg9n8b315p22r6jrkbyb-libx11-1.6.A.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source 

Running `guix install hello` gives the same error

$ guix install hello
guix install: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.

The following package will be installed:
   hello 2.10

15.7 MB will be downloaded
downloading from https://ci.guix.gnu.org/nar/lzip/z7a6sbvqzb5zapwpznmjkq2rsxil6i67-glibc-utf8-locales-2.31 ...
Backtrace:
           3 (apply-smob/1 #<catch-closure 7f3820578920>)
In ice-9/boot-9.scm:
    705:2  2 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
In ice-9/eval.scm:
    619:8  1 (_ #(#(#<directory (guile-user) 7f38201e0140>)))
In guix/ui.scm:
  2117:12  0 (run-guix-command _ . _)

guix/ui.scm:2117:12: In procedure run-guix-command:
Wrong type to apply: #f
substitution of /gnu/store/z7a6sbvqzb5zapwpznmjkq2rsxil6i67-glibc-utf8-locales-2.31 failed
killing process 20010
guix install: error: some substitutes for the outputs of derivation `/gnu/store/p8w0ickl7n4psa5rkybx0q856phzxmpp-glibc-utf8-locales-2.31.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source

When doing `guix install --fallback hello`, it can download the tarballs
just fine, but packages cannot get built.

Any ideas on why this happens?


[0]: https://github.com/Emiller88/guix

-- 
Xinglu Chen
8B88 2502 31D7 03B1 68BC  2691 3851 020D 7E61 BBC2



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

* Re: Cannot install packages
  2021-01-24 13:52 Cannot install packages Xinglu Chen
@ 2021-02-20 15:15 ` Xinglu Chen
  0 siblings, 0 replies; 2+ messages in thread
From: Xinglu Chen @ 2021-02-20 15:15 UTC (permalink / raw)
  To: help-guix

I ended up installing Guix from the binary bootstrap rather than
compiling from source, and it worked as expected. :-)

If anyone else bumps into the same problem, see the discussion I had
with some other people [1].

Sorry for the noise.

[1] https://github.com/bqv/guix/issues/2


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

end of thread, other threads:[~2021-02-20 16:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-24 13:52 Cannot install packages Xinglu Chen
2021-02-20 15:15 ` Xinglu Chen

unofficial mirror of help-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-user/0 guix-user/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-user guix-user/ https://yhetil.org/guix-user \
		help-guix@gnu.org
	public-inbox-index guix-user

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.user
	nntp://news.gmane.io/gmane.comp.gnu.guix.user


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git