-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
Platform
- Linux: RHEL8
- macOS
- WSL
Additional information
I'm following these two guides:
https://nixos.wiki/wiki/Nix_Installation_Guide
https://nixos.org/manual/nix/stable/package-management/binary-cache-substituter.html
so just these commands are being ran:
sudo install -d -m755 -o $(id -u) -g $(id -g) /nix
curl -L https://nixos.org/nix/install | sh
. /home/<username>/.nix-profile/etc/profile.d/nix.sh
nix-env -iA nixpkgs.nix-serve
nix-serve -p 8081
Output
when trying to curl for anything in my server (except for nix-cache-info, which works fine), I get this output in my server running nix-serve:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
2023/01/28-06:03:28 Starman::Server (type Net::Server::PreFork) starting! pid(7430)
Resolved [*]:8081 to [0.0.0.0]:8081, IPv4
Binding to TCP port 8081 on host 0.0.0.0 with IPv4
Setting gid to "1001 1001 1001"
GET /bnmaam4a8z4fsphzwwwb9jwc7kf7ghr0.narinfo
The program must call nix::initNix() before calling any libstore library functions.
Child process 7432 exited with status 0 - signal was 6
(the main error is The program must call nix::initNix() before calling any libstore library functions. probably. Tried googling it but only found the source code in this repo that prints this out)
Weird thing was I ran these steps earlier and it was working (v2.13.1). My new server is 2.13.2, but I even tried downgrading to 2.13.1 on that same server and it was giving me the same issues.
Is there anything I can try? Thanks.
Priorities
Add 👍 to issues you find important.