!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

354 Members
111 Servers

Load older messages


SenderMessageTime
18 Mar 2022
* @qbit:tapenet.orgqbit switches to he cross compiling room12:54:06
20 Mar 2022
@anderson_torres:matrix.orgAnderson Torres joined the room.20:22:47
22 Mar 2022
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how changed their display name from matthewcroughan - nix.zone to matthewcroughan - nix.how.22:56:07
24 Mar 2022
@rgrinberg:matrix.orgrgrinberg joined the room.05:27:32
* @colemickens:matrix.orgcolemickens waitng for qemu release intensifies21:21:29
@colemickens:matrix.orgcolemickensI want those more riscv cores21:21:37
25 Mar 2022
@anderson_torres:matrix.orgAnderson TorresIt will be officially supported?00:37:41
@zhaofeng:zhaofeng.liZhaofeng LiNo, it's been there since forever. It's just that the maximum CPU limit for qemu-system-riscv(64) has been increased00:43:27
@zhaofeng:zhaofeng.liZhaofeng LiBefore that you had to patch QEMU to increase it: https://www.mail-archive.com/qemu-discuss@nongnu.org/msg06986.html00:44:24
27 Mar 2022
@anderson_torres:matrix.orgAnderson TorresI am interested in porting Nix to Haiku (the open source BeOS replacement). I have asked a thing or two in their Telegram channel, and I have received some feedback: 18:27:14
@anderson_torres:matrix.orgAnderson Torres

be warned, you SHOULD know a bit about Haiku before you can start to use nix on it. Basically / on Haiku is not the same as on unixes. Nix will try to store its data in /nix folder structure, and while it is possible to create that folder, you cannot create files in it, because / is a virtual folder, not the root node of the disk.
You have to redefine the nix store to somewhere else.

Also nix uses hardlinks for some things, which is not supported on BFS.

It seems it fails at fallocate, maybe it is something else then; commenting out the code here solved the problem: https://github.com/NixOS/nix/blob/master/src/libutil/archive.cc#L331

18:28:34
@anderson_torres:matrix.orgAnderson TorresThe other possible problem is that Haiku supports 32-bit operating systems. Maybe it would limit the possibility of porting a "haiku-nixpkgs" to it?18:29:54
@7c6f434c:nitro.chat7c6f434cWell, Wine on x86_64-linux is dependent on 32-bit libraries18:47:03
@7c6f434c:nitro.chat7c6f434cSo basic 32-bit stuff breaking would be a problem for a (the) Tier-1 platform18:47:56
@7c6f434c:nitro.chat7c6f434cDoes BeOS support anything like bind-mounts? Because /nix holding no files itself and just serving as a mountpoint sounds good to me18:49:00
@7c6f434c:nitro.chat7c6f434cOn the other hand, which parts of the sandbox can be approximated is a complicated question… Bind mounts + chroot (or a clear replacement) would be nice to have…18:50:19
@anderson_torres:matrix.orgAnderson TorresMaybe bind-mounting can be accomplished. Here is a message from their mailing list (completely out of context, but whatever): https://www.freelists.org/post/haiku-development/Question-about-system-and-bootsystem,14 18:56:25
@anderson_torres:matrix.orgAnderson Torres * Maybe bind-mounting can be accomplished. Here is a message from their mailing list (completely out of context, but whatever): https://www.freelists.org/post/haiku-development/Question-about-system-and-bootsystem,14 And chroot is a cmdline app: https://www.haiku-os.org/docs/userguide/en/applications/list-cli-apps.html18:57:47
@7c6f434c:nitro.chat7c6f434cSounds good…19:00:06
@7c6f434c:nitro.chat7c6f434c(but significant work adapting to the BeOS APIs, of course)19:00:33
@anderson_torres:matrix.orgAnderson Torres

Well, there are some messages on their board about POSIX support on Haiku (basically they say: yes, Haiku is POSIX-compliant):

https://discuss.haiku-os.org/t/is-haiku-a-unix-like-os/8801/3

19:09:45
@anderson_torres:matrix.orgAnderson TorresIf the POSIX API can be used, maybe the BeOS will not be a huge problem...19:12:34
28 Mar 2022
@anderson_torres:matrix.orgAnderson Torres* If the POSIX API can be used, maybe the BeOS API will not be a huge problem...12:27:01
@alxanyae:matrix.orgalyaeanyx How do you get the avr-gcc cross-compiling chain for AVR microcontrollers in Nixpkgs? I've tried crossSystem = { config = "avr-unknown-unknown"; }; and some variations of that 23:32:38
29 Mar 2022
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how
In reply to @colemickens:matrix.org
I want those more riscv cores
How come?
21:04:43
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howCan you do something meaningful with an increased core count?21:04:58
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howLet's say I have a really powerful x86 processor, that has 4 cores 8 threads. Can I be more effective by making a risv64 QEMU VM with more than 4 cores?21:05:34
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howCan I lie and get more performance out of the VM, and make more use of the host processor?21:05:45
@zhaofeng:zhaofeng.liZhaofeng LiYou don't, it's mostly for when you have a 5950X with 32 threads for example22:07:25
30 Mar 2022
@a-kenji:matrix.orga-kenji joined the room.09:59:08

Show newer messages


Back to Room ListRoom Version: 6