!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

353 Members
111 Servers

Load older messages


SenderMessageTime
5 Jun 2022
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how j-k: Zhaofeng Li did you know that nix build nixpkgs#pkgsCross.riscv64.pkgsStatic.nix works? 12:24:46
@matthewcroughan:defenestrate.itmatthewcroughan - nix.hownot only cross compiling, but statically compiling too 12:25:01
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how * not only cross compiling, but statically linking too 12:32:38
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how I just the result to fufexan, he ran it on Fedora on the VisionFive board, it worked. 12:35:44
@fufexan:matrix.orgfufexanshould've mentioned, I haven't run it on the board yet12:36:08
@fufexan:matrix.orgfufexanI'm leaving for another city soon so it's packed rn12:36:36
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howah okay, so the screenshot you sent was through binfmt on an x86 box?12:36:38
@fufexan:matrix.orgfufexanyes12:36:41
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howIf it doesn't work when it gets there then I'll be very surprised :P12:36:51
@fufexan:matrix.orgfufexanI'll run it real quick to test12:36:51
@fufexan:matrix.orgfufexanimage.png
Download image.png
12:40:25
@fufexan:matrix.orgfufexansure enough, it works12:40:32
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howThe blog post I write this month, is going to be amazing.12:44:30
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how Statically linking and cross compiling Nix itself for usage on any distribution for the VisionFive board is so simple, I'm just blown away. 12:44:59
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howJust that alone is such a good demonstration of Nix power.12:45:40
@fufexan:matrix.orgfufexan
sudo ./nix --extra-experimental-features 'nix-command flakes' profile install nixpkgs#bottom
[sudo] password for riscv:
warning: the group 'nixbld' specified in 'build-users-group' does not exist
warning: error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60); retrying in 311 ms
warning: error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60); retrying in 616 ms
warning: error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60); retrying in 1061 ms
warning: error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60); retrying in 2248 ms
error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60)
```how should I fix this?
18:16:41
@fufexan:matrix.orgfufexan *
sudo ./nix --extra-experimental-features 'nix-command flakes' profile install nixpkgs#bottom
[sudo] password for riscv:
warning: the group 'nixbld' specified in 'build-users-group' does not exist
warning: error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60); retrying in 311 ms
warning: error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60); retrying in 616 ms
warning: error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60); retrying in 1061 ms
warning: error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60); retrying in 2248 ms
error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60)
```how should I fix this?
18:16:50
@fufexan:matrix.orgfufexan *
sudo ./nix --extra-experimental-features 'nix-command flakes' profile install nixpkgs#bottom
[sudo] password for riscv:
warning: the group 'nixbld' specified in 'build-users-group' does not exist
warning: error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60); retrying in 311 ms
warning: error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60); retrying in 616 ms
warning: error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60); retrying in 1061 ms
warning: error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60); retrying in 2248 ms
error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60)

how should I fix this?

18:17:01
@fufexan:matrix.orgfufexan fixed by adding export NIX_SSL_CERT_FILE=/etc/ssl/certs/ca-bundle.crt 18:45:46
@fufexan:matrix.orgfufexanimage.png
Download image.png
18:49:56
@fufexan:matrix.orgfufexan all of this just to run btm 😄 18:50:03
@fufexan:matrix.orgfufexanimage.png
Download image.png
19:38:09
@fufexan:matrix.orgfufexan umm, another weird issue. matthewcroughan - nix.how were you able to run anything with nix on the board? 19:38:21
@fufexan:matrix.orgfufexanI guess I'll have to try flashing zhaofengli's sdcard image and try to work with that19:38:55
@commandocrypto:1312.mediacomrandroxaoshttps://www.clockworkpi.com/product-page/devterm-kit-r01 since we're talking aabout risc-v, i didn't know this was real until today20:30:47
@fufexan:matrix.orgfufexanlooks really cool but I can't imagine working on such a small screen21:42:00
@fufexan:matrix.orgfufexanalso, only 1GB ram, when my empty wm uses about 400mb 😄21:42:34
6 Jun 2022
@j-k:matrix.orgj-k
In reply to @matthewcroughan:defenestrate.it
j-k: Zhaofeng Li did you know that nix build nixpkgs#pkgsCross.riscv64.pkgsStatic.nix works?
nice
10:40:48
@j-k:matrix.orgj-kI used the nix repo to build the release tar.gz so I'd get the installer script that sets up the systemd services and builder users for multi user install10:41:39
7 Jun 2022
@execat:matrix.orgexecat joined the room.18:22:05

Show newer messages


Back to Room ListRoom Version: 6