Report forwarded
to bug-guix@gnu.org: bug#23828; Package guix.
(Wed, 22 Jun 2016 17:09:02 GMT) (full text, mbox, link).
Acknowledgement sent
to David Craven <david@craven.ch>:
New bug report received and forwarded. Copy sent to bug-guix@gnu.org.
(Wed, 22 Jun 2016 17:09:02 GMT) (full text, mbox, link).
Subject: Re: bug#23828: unsupported sexp item type #f ```
Date: Thu, 23 Jun 2016 10:06:18 +0200
David Craven <david@craven.ch> skribis:
> I'm running guix from
> `/gnu/store/3g6zn8y5sfwywr4pqiwqrab735a0x4zl-guix-0.10.0/bin` since I
> don't have my profile/PATH setup correctly yet. I was under the
> impression that `./guix package -i guix` would create the right
> symlinks in `/var/guix/profiles/per-user`.
OK.
> Weird, `/etc/guix/acl` doesn't contain anything but `/etc/nix/acl` does:
> ```
> sudo cat /etc/nix/acl
> (acl
> (entry
> ()
> (tag
> (guix import)
> )
> )
> )
> ```
This is clearly bogus (the “()” above). Guix only creates and uses
/etc/guix/acl, not /etc/nix/acl.
Could it be that /etc/guix is a symlink to /etc/nix, or something like
that?
> After `sudo rm -f /etc/nix/acl` guix or guix-daemon recreates the same
> file and exits with the same stack trace.
By default, Guix ensures that at least your own key, if it exists, is
part of the ACL; this happens in ‘ensure-acl’, in guix/pki.scm.
I suspect that in your case /etc/guix/signing-key.pub is not a valid
key, which is why ‘ensure-acl’ ends up adding “()”. Could you post the
contents of /etc/guix/signing-key.pub? (It’s a public key, so doing it
is OK.)
Possibly this has to do with /etc/guix pointing to /etc/nix, and
/etc/nix/signing-key.pub being a public key in the format that Nix uses,
which is a completely different format.
Thanks,
Ludo’.
Information forwarded
to bug-guix@gnu.org: bug#23828; Package guix.
(Thu, 23 Jun 2016 12:55:02 GMT) (full text, mbox, link).
Subject: Re: bug#23828: unsupported sexp item type #f ```
Date: Thu, 23 Jun 2016 14:54:31 +0200
merge 23828 22459
thanks
David Craven <david@craven.ch> skribis:
> The usage of NIX environment variables is a problem when trying to
> coexist with nix on nixos.
> ```
> (define %config-directory
> ;; This must match `NIX_CONF_DIR' as defined in `nix/local.mk'.
> (or (getenv "NIX_CONF_DIR") "@guix_sysconfdir@/guix"))
> ```
Oh, good point. I assume this was the root of the problems, right?
Thanks,
Ludo’.
Merged 2245923828.
Request was from ludo@gnu.org (Ludovic Courtès)
to control@debbugs.gnu.org.
(Fri, 24 Jun 2016 23:18:02 GMT) (full text, mbox, link).
Information forwarded
to bug-guix@gnu.org: bug#23828; Package guix.
(Sun, 26 Jun 2016 22:16:02 GMT) (full text, mbox, link).
Subject: Re: bug#23828: unsupported sexp item type #f ```
Date: Mon, 27 Jun 2016 00:15:20 +0200
This issue is partly addressed with your patch pushed as
9dd674db017dbdc451cfd35da2dc3ce08db0726a, which renames ‘NIX_CONF_DIR’
to ‘GUIX_CONFIGURATION_DIRECTORY’.
Ludo’.
Debbugs is free software and licensed under the terms of the
GNU Public License version 2. The current version can be
obtained from https://bugs.debian.org/debbugs-source/.