!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

323 Members
101 Servers

Load older messages


SenderMessageTime
7 Apr 2025
@ipsavitsky234:matrix.org@ipsavitsky234:matrix.orgty, I'll be back when I eventually try to run nix on risc-v09:39:12
@devurandom:matrix.orgDennis joined the room.20:21:09
10 Apr 2025
@elvishjerricco:matrix.org@elvishjerricco:matrix.org left the room.09:24:37
13 Apr 2025
@twoishqwords:matrix.org@twoishqwords:matrix.org joined the room.19:21:22
@twoishqwords:matrix.org@twoishqwords:matrix.org left the room.19:21:31
15 Apr 2025
@dramforever:matrix.orgdramforeverhas anyone tried adding x32 to nixpkgs? i don't know how to do that03:34:11
@rosscomputerguy:matrix.orgTristan RossHuh, x32?04:24:18
@dramforever:matrix.orgdramforeverx86-64 with ilp32 abi04:34:57
@rosscomputerguy:matrix.orgTristan RossOh04:36:48
@rosscomputerguy:matrix.orgTristan RossHmm, I wonder how we'd tell nixpkgs how to use it.04:38:21
@rosscomputerguy:matrix.orgTristan Ross Probably through the ABI component of the triple 04:39:44
@dramforever:matrix.orgdramforever x86_64-unknown-linux-gnux32 04:40:00
@rosscomputerguy:matrix.orgTristan RossBut is there a libc which supports it?04:40:00
@dramforever:matrix.orgdramforeverbut i don't know how to add it04:40:04
@rosscomputerguy:matrix.orgTristan RossOh04:40:08
@rosscomputerguy:matrix.orgTristan Ross That's easy 04:40:12
@rosscomputerguy:matrix.orgTristan Ross You set localSystem.system to your host 04:40:42
@rosscomputerguy:matrix.orgTristan Ross crossSystem.config is that triple. 04:40:59
@rosscomputerguy:matrix.orgTristan Ross And that's what you pass to the attribute set when importing nixpkgs 04:41:18
@dramforever:matrix.orgdramforever error: Unknown ABI: gnux32 04:42:12
@rosscomputerguy:matrix.orgTristan RossAh yeah, we don't support that ABI04:42:31
@dramforever:matrix.orgdramforeveri know this is possible04:42:34
@dramforever:matrix.orgdramforever because we already have mips64el-unknown-linux-gnuabin32 04:42:44
@dramforever:matrix.orgdramforeverso there should be some way of getting that but x86_6404:42:53
@dramforever:matrix.orgdramforeverbut i don't know what i need to do04:43:16
@rosscomputerguy:matrix.orgTristan Ross https://github.com/NixOS/nixpkgs/blob/master/lib/systems/parse.nix#L652 these are the abis we support 04:43:22
@rosscomputerguy:matrix.orgTristan RossWe'd have to explicitly add it in.04:43:55
@dramforever:matrix.orgdramforeverthe great formatting kinda ruined this file 😥04:44:28
@rosscomputerguy:matrix.orgTristan Ross https://github.com/NixOS/nixpkgs/blob/master/lib/systems/examples.nix may not be a bad idea to add the target here for easy support in pkgsCross 04:44:40
@rosscomputerguy:matrix.orgTristan Ross
In reply to @dramforever:matrix.org
the great formatting kinda ruined this file 😥
Lol yeah, I was planning on making improvements there but haven't had time to do it.
04:45:19

Show newer messages


Back to Room ListRoom Version: 6