Re: Nitrokey and udev rules

2018-05-23 Thread Mike Gerwitz
On Tue, May 22, 2018 at 12:53:43 +0200, Pierre Neidhardt wrote: > I'm trying to use my nitrokey on GuixSD. I use a Nitrokey Pro on GuixSD. >> gpg --card-status > gpg: selecting openpgp failed: No such device > gpg: OpenPGP card not available: No such device Have you started pcscd? We don't yet

Re: emacs-dev: 'unpack' phase does not seem to preserve timestamps

2018-05-23 Thread Pierre Neidhardt
Ludovic Courtès writes: > Yes, that’s annoying, but that’s expected. Right, but then how would it be possible to call `make install` without rebuilding everything all over again? > Perhaps the ‘unpack’ > phase could automatically make the copy that it creates with >

Re: On network management and documenting nmcli

2018-05-23 Thread swedebugia
On May 23, 2018 5:45:53 PM GMT+02:00, Pierre Neidhardt wrote: > >Ludovic Courtès writes: > >> If you’re using Emacs, the latest version of Emacs-Guix has this new >> ‘guix-default-services’ command that does exactly what you’re >> suggesting. > >It's great

Re: [ANN] Emacs-Guix 0.4

2018-05-23 Thread Alex Kost
Ludovic Courtès (2018-05-23 17:30 +0200) wrote: > Hello! > > Maxim Cournoyer skribis: > >> Alex Kost writes: >> >>> Hello, Emacs-Guix (Emacs interface for GNU Guix) version 0.4 has been >>> released. If you are not familiar with it yet, you may

Re: On network management and documenting nmcli

2018-05-23 Thread Pierre Neidhardt
Ludovic Courtès writes: > If you’re using Emacs, the latest version of Emacs-Guix has this new > ‘guix-default-services’ command that does exactly what you’re > suggesting. It's great but it's not obvious enough for newcomers in my opinion. We need something in the manual that

Re: Install new package in current generation?

2018-05-23 Thread Ludovic Courtès
Pierre Neidhardt skribis: >>> guix package -i PACKAGE # -> creating new generation >>> guix package -d # remove all generations, except current >>> guix gc > > Technically you don't need to always call `guix gc`. Indeed, just run it when you need more disk space.

Re: On network management and documenting nmcli

2018-05-23 Thread Ludovic Courtès
Hello, swedebugia skribis: > Perhaps a new guix command is needed for this e.g.: > > % guix show %default-services > > getty  | A service that serves tty > > cups       | Printing service that enables printing ‘guix system search’ should help a bit,

Re: [ANN] Emacs-Guix 0.4

2018-05-23 Thread Ludovic Courtès
Hello! Maxim Cournoyer skribis: > Alex Kost writes: > >> Hello, Emacs-Guix (Emacs interface for GNU Guix) version 0.4 has been >> released. If you are not familiar with it yet, you may start with: >> ‘guix package -i emacs-guix’ and "M-x

Re: emacs-dev: 'unpack' phase does not seem to preserve timestamps

2018-05-23 Thread Ludovic Courtès
Hello, Pierre Neidhardt skribis: > Since all file timestamps are set to Epoch by 'unpack', the build phase > tries to rebuild everything. > And since the files unpacked to "source" are read-only, `make` fails to > regenerate the files that go in "source". Yes, that’s

Re: Install new package in current generation?

2018-05-23 Thread Jone
> listed in the environment variable “X_XFCE4_LIB_DIRS” It works! Thanks.

Re: Udisks uses ntfs instead of ntfs-3g

2018-05-23 Thread Pierre Neidhardt
I've patched ntfs-3g to symlink mount.ntfs to mount.ntfs-3g and it works as expected. If the new ntfs-3g is installed as a system package, that is to say. Indeed, libmount seems to only look in /run/current-system/profile/sbin/mount.* and not in ~/.guix-profile/sbin/mount.*.

Re: Nitrokey and udev rules

2018-05-23 Thread Pierre Neidhardt
I've reported upstream: https://support.nitrokey.com/t/guixsd-no-such-device/1117 -- Pierre Neidhardt signature.asc Description: PGP signature

Re: Nitrokey and udev rules

2018-05-23 Thread Pierre Neidhardt
NixOS has packaged Nitrokey App: https://github.com/NixOS/nixpkgs/tree/master/pkgs/tools/security/nitrokey-app I'm not too familiar with the system, but I understand that they've replaced "plugdev" by "nitrokey". Not sure how that can help. NixOS uses systemd however. -- Pierre

Re: Nitrokey and udev rules

2018-05-23 Thread Pierre Neidhardt
Marius Bakke writes: > As a workaround you can try e.g. 'GROUP+="gpg", MODE=”0660″'. I tried your suggestion but then `dmesg | grep udevd` rightfully complained that the "gpg" group did not exist. Am I supposed to create it? Anyways, I tried with 'GROUP+="users",

Re: Install new package in current generation?

2018-05-23 Thread Pierre Neidhardt
>> guix package -i PACKAGE # -> creating new generation >> guix package -d # remove all generations, except current >> guix gc Technically you don't need to always call `guix gc`. Also note that generations are generally lightweight, especially for simple operations like installing a

Re: Install new package in current generation?

2018-05-23 Thread Ricardo Wurmus
Jone writes: > guix package -i PACKAGE # -> creating new generation > guix package -d # remove all generations, except current > guix gc > > - not so good: first creating new generation, and next delete all > others (I absolutely do not need a rollback). There is no