12 May 2024 |
trofi | but it's not a libgcc file! :) | 13:55:21 |
13 May 2024 |
Mic92 | How can I build a nix-shell that can run on the hostplatform, but is cross compiled? | 16:07:25 |
Mic92 | let
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/archive/af8b9db5c00f1a8e4b83578acc578ff7d823b786.tar.gz"; # nixpkgs-unstable
pkgs = import nixpkgs { crossSystem = { config = "riscv64-unknown-linux-musl"; }; };
in
pkgs.pkgsHostTarget.mkShell.override { stdenv = pkgs.pkgsHostTarget.clangStdenv; } {
packages = [];
}
| 16:07:26 |
Mic92 | That still seems to give me the build platform? | 16:07:43 |
Mic92 | Looks like I can just "cross-compile" on the same architecture. | 16:14:04 |
Alyssa Ross | you should get that by default | 16:17:09 |
14 May 2024 |
| chrillefkrr joined the room. | 15:41:55 |
15 May 2024 |
Sam Lehman | Has anyone build Rust crates (or any Nix package) for the Nintendo Switch? | 21:34:14 |
16 May 2024 |
John Ericson | Alyssa Ross: Think we've got everything you mentioned for https://github.com/NixOS/nixpkgs/pull/311836 ! | 16:05:14 |
John Ericson | truth be told, we're still trying to get something that OpenBSD actually runs | 16:05:30 |
John Ericson | but I think it is good to merge now, anyways | 16:06:00 |
John Ericson | (good basis for collaboration, good to get the small generalizations that impact the other BSDs in) | 16:06:36 |
Alyssa Ross | Yeah makes sense | 18:30:46 |
Alyssa Ross | Might not be able to look again tonight, but it was a nice easy review last time so I should get to it soon. | 18:31:32 |
19 May 2024 |
| KFears (tragedy arc) changed their display name from KFears (filler human) to KFears (tragedy arc). | 13:39:41 |
20 May 2024 |
| mei 🌒& changed their display name from ckie (they/them) to mei 🌒&. | 00:09:47 |
22 May 2024 |
| NixOS Moderation Botchanged room power levels. | 15:26:01 |
| NixOS Moderation Botchanged room power levels. | 15:28:14 |
23 May 2024 |
| lazycaaat joined the room. | 10:58:57 |
24 May 2024 |
| @lotte:chir.rs changed their profile picture. | 06:21:21 |
| @meetmangukiya:matrix.org left the room. | 06:41:55 |
John Ericson | Alyssa Ross: thanks for the help, we did finally get fetchCVS working for https://github.com/NixOS/nixpkgs/pull/311836, hopefully it is all good now! | 21:14:37 |
John Ericson | and then need to work on static linking | 21:14:45 |
26 May 2024 |
| @samueldr:matrix.org left the room. | 20:35:54 |
27 May 2024 |
| Rusty joined the room. | 09:06:39 |
28 May 2024 |
raitobezarius | did someone already boot a LicheeRV Nano with NixOS or similar? | 18:10:20 |
raitobezarius | or maybe a Nix-based operating system (256MB of RAM is a bit short) | 18:10:33 |
Alex | In reply to @raitobezarius:matrix.org or maybe a Nix-based operating system (256MB of RAM is a bit short) 256MiB of RAM with NixOS should be possible, assuming you cross-compile it.
The default system doesn't use very much (I have a RPi3 with some lightweight servers on it running at <256MiB used). | 20:24:13 |
artemist | It's possible to natively build nix with such a slow machine but it take a long time (bootstrapping up to lix on a raspberry pi 1 failed about 2 weeks in due to a meson test) | 20:55:44 |
Alex | Yes, but I doubt you can build every package in the default system with <256 MiB of memory. | 20:56:39 |