From: Jeff Mickey <j@codemac.net>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: help-guix@gnu.org
Subject: Re: Running guix on nixos
Date: Mon, 25 Jan 2016 11:29:36 -0800 [thread overview]
Message-ID: <8737tlxxsv.fsf@nevada.int.iggy.bz> (raw)
In-Reply-To: <8737tmnkvp.fsf@gnu.org>
* Ludovic Courtès <ludo@gnu.org> [2016-01-25 00:06]:
> Logs are automatically kept in /var/guix or /nix/var/something (see
> ‘guix build --log-file’), so it may still be possible to retrieve them.
Hm, that command returns empty, and I don't see any logs anywhere. I
wasn't deing detailed enough while working on this, I apologize for
missing the opportunity to debug it.
>> Unfortunately, there is something wrong with how it uses acl, as it
>> warns me every time and then re-builds the world.
>
> What’s the warning? That /etc/guix/acl is empty?
It says:
substitute: guix substitute: warning: ACL for archive imports seems to be uninitialized, substitutes may be unavailable
And I got an idea while replying to your mail. NixOS sets the
NIX_CONF_DIR environment variable for users, and it looks like the guix
command respects it and places the acl file in /etc/nix/acl.
The guix-daemon however is being launched from systemd, and it looks
like nix doesn't set up those same environment variables for services?
$ sudo systemctl show-environment
LANG=en_US.UTF-8
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
Well, fek.
guix-daemon defaults to using whatever guix was compiled with, and as
this is the binary installation method, so it was probably compiled with
/etc/guix.
I apologize, an environmental mess up.
It seems that running guix on top of NixOS has much more interesting
edge cases compared to my previous arch+guix and debian+guix installs
due to the overlap in functionality of the distros. Those others were a
breeze compared to this.
Is there anywhere I can document putting guix on NixOS from binary
installation? It'd be nice to have a per-distro "how to install guix"
instructions for each's corner case.
Thanks again for your help! And I have got to brush up on my
Esperanto. (Redankon? Dankon ree? Dankon denove? Cxu "cimo"?)
// codemac
next prev parent reply other threads:[~2016-01-25 19:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2016-01-25 21:00 ` Leo Famulari
2016-01-26 14:09 ` Ludovic Courtès
2016-01-22 18:45 ` Jeff Mickey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8737tlxxsv.fsf@nevada.int.iggy.bz \
--to=j@codemac.net \
--cc=help-guix@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).