how to get nix-daemon set up correctly

hello
after installing nix i realized that there is no rc file for nix-daemon in /etc/rc.d
since there is no documetnation about it i just tried to run the program nix-daemon in shell
but when i run:
nix-channel --add https://nixos.org/channels/nixpkgs-unstable
nix-channel --update
i get the error: ERROR: Nix daemon disconnected unexpectedly
am i doing something wrong?
who has experience with nix on freebsd and can help me?
 
hello
after installing nix i realized that there is no rc file for nix-daemon in /etc/rc.d
since there is no documetnation about it i just tried to run the program nix-daemon in shell
but when i run:
nix-channel --add https://nixos.org/channels/nixpkgs-unstable
nix-channel --update
i get the error: ERROR: Nix daemon disconnected unexpectedly
am i doing something wrong?
who has experience with nix on freebsd and can help me?
Did you try looking in /usr/local/etc/rc.d ? Usually ports place all their config files under /usr/local/etc .
 
Did you try looking in /usr/local/etc/rc.d ? Usually ports place all their config files under /usr/local/etc .
sorry i forgot to mention i also looked in this directory and its also nothing there
maybe i should try to install the port, right now im using the "normal" package using pkg install nix
is the file im looking for even a thing?
maybe nix-deamon for rc.conf isnt even working on freebsd yet?
 
maybe i should try to install the port, right now im using the "normal" package using pkg install nix
is the file im looking for even a thing?
Installing from port doesn't matter. Port and package are the same. There is no rc(8) script provided by the port (package).

nix failing may related to the fact that support on FreeBSD is experimental according to post-install message.

pkg info -D nix
Experimental support
--------------------

Nix support is very much experimental on FreeBSD. The sysutils/nix port is
mainly aimed at developers, testers, and curious users. Nix should not be
considered stable yet on FreeBSD.

...
 
i used nix as a package manager with ubuntu
and nixos installed as a system

the documentation is frequently out of date
and its next to impossible to actually find any useful search results for

a problem that could be fixed on unix/linux with a couple of commands
requires hours or days of effort to fix on nix

its a walled garden and the novelty soon wears off
 
Back
Top