dckc / madmode-blog

my tinkering notebook (blog)
https://www.madmode.com
0 stars 2 forks source link

failed to install guix on nixos machine #97

Open dckc opened 4 years ago

dckc commented 4 years ago

current status, after running guix-install.sh:

[connolly@capnb:~]$ guix install hello
guix: command not found

that part is easy enough to fix:

[connolly@capnb:~]$ export PATH=/usr/local/bin:$PATH

but then:

[connolly@capnb:~]$ guix install hello
guix install: error: failed to connect to `/var/guix/daemon-socket/socket': No such file or directory

maybe we can start it?

[connolly@capnb:~]$ sudo -v
[sudo] password for connolly: 

[connolly@capnb:~]$ sudo systemctl start guix.daemon
Failed to start guix.daemon.service: Unit guix.daemon.service not found.

[connolly@capnb:~]$ systemctl list-unit-files|grep guix

I don't know where the unit file went. I think it was there at one point.

The guix docs also want me to make sure nscd is set up, but nscd and nix don't get along:

[connolly@capnb:~]$ ps ax | grep nscd
16104 pts/0    S+     0:00 grep nscd

[connolly@capnb:~]$ systemctl status nscd
● nscd.service - Name Service Cache Daemon
   Loaded: loaded (/nix/store/xjwbvh2dwk5gkr6gavvw6fk92grlkswa-unit-nscd.servic>
   Active: inactive (dead) since Thu 2020-10-15 05:59:04 UTC; 1 day 22h ago
 Main PID: 17059 (code=exited, status=0/SUCCESS)
      CPU: 14ms

Oct 15 05:59:04 capnb nscd[17059]: 17059 disabled inotify-based monitoring for >
Oct 15 05:59:04 capnb nscd[17059]: 17059 stat failed for file `/etc/netgroup'; >
Oct 15 05:59:04 capnb systemd[1]: Started Name Service Cache Daemon.
Oct 15 05:59:04 capnb nscd[17059]: 17059 monitored file `/etc/resolv.conf` was >
Oct 15 05:59:04 capnb systemd[1]: Stopping Name Service Cache Daemon...
Oct 15 05:59:04 capnb systemd[1]: nscd.service: Succeeded.
Oct 15 05:59:04 capnb systemd[1]: Stopped Name Service Cache Daemon.
Oct 15 05:59:04 capnb systemd[1]: nscd.service: Start request repeated too quic>
Oct 15 05:59:04 capnb systemd[1]: nscd.service: Failed with result 'start-limit>
Oct 15 05:59:04 capnb systemd[1]: Failed to start Name Service Cache Daemon.
dckc commented 2 years ago

no zotero in guix?!

16:49 connolly@jambox$ guix install zotero
guix install: error: zotero: unknown package

@cwebber, this seems to substantiate your criticism of javascript packaging:

It turns out that Zotero needs... NodeJS (!) and XULrunner (!!!).

As long as Guix won't have a recursive importer for NodeJS, it will be
a big hassle to package Zotero.

-- Re: Zotero Packaging Request Pierre Neidhardt 30 Mar 2019

and yet, it's packaged in nix:

16:49 connolly@jambox$ type zotero
zotero is /home/connolly/.nix-profile/bin/zotero

16:49 connolly@jambox$ zotero --version
Zotero Zotero 5.0.96.3, Copyright (c) 2006-2018 Contributors
~