all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Running guix on nixos
@ 2016-01-20 21:56 Jeff Mickey
  2016-01-21  9:02 ` Ludovic Courtès
  0 siblings, 1 reply; 12+ messages in thread
From: Jeff Mickey @ 2016-01-20 21:56 UTC (permalink / raw)
  To: help-guix

There is a host at work that is running nixos. I thought "hey, I'll try
doing that whole shared daemon thing".

I have not succeeded yet. The approach has been to use the same
nix-daemon, as I saw the hydra.gnu.org instance does something similar.

I ran in the following shell:

nix-shell -p coreutils findutils automake autogen gettext guile \
  pkgconfig gcc libgcrypt sqlite bzip2 graphviz gnutls help2man

And I configured with the following configure line:

./configure \
  --prefix=/home/codemac/guix \
  --with-libgcrypt-prefix=/nix/store/mrr...-libgcrypt-1.6.4 \
  --disable-daemon \
  --with-store-dir=/nix/store \
  --localstatedir=/nix/var

This built successfully but runs into the following problems:

$ guix pull
guix pull: error: failed to connect to `/nix/var/guix/daemon-socket/socket': No such file or directory

Ran sudo ln -s /nix/var/nix /nix/var/guix to get around that, but I'd
like it to look properly in the statedir when I do
--disable-daemon, so if there is a better way to do it I'm all ears.

In attempting to guix pull again, it fails to build gcc complaining:

/nix/store/xw7...-binutils-cross-boot0-2.25.1/bin/x86_64-guix-linux-gnu-ld: cannot find -lstdc++

Is there a way to insert the boostrap binaries into the nix store? I'm
assuming that's what's happening?

Any help would be appreciated, I apologize if this is not the proper
venue.

  //  codemac

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

end of thread, other threads:[~2016-01-26 14:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-20 21:56 Running guix on nixos Jeff Mickey
2016-01-21  9:02 ` Ludovic Courtès
2016-01-21 22:24   ` Jeff Mickey
2016-01-22 12:57     ` Ludovic Courtès
2016-01-22 21:43       ` Jeff Mickey
2016-01-23 20:48         ` Ludovic Courtès
2016-01-24 21:58           ` Jeff Mickey
2016-01-25  8:06             ` Ludovic Courtès
2016-01-25 19:29               ` Jeff Mickey
2016-01-25 21:00                 ` Leo Famulari
2016-01-26 14:09                 ` Ludovic Courtès
2016-01-22 18:45     ` Jeff Mickey

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.