!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

330 Members
105 Servers

Load older messages


SenderMessageTime
30 Dec 2024
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius (DECT: 3538 / EPVPN 2681) to raitobezarius.16:29:53
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how changed their display name from matthewcroughan (DECT: 56490) to matthewcroughan.17:26:13
31 Dec 2024
@siraben:matrix.orgsiraben left the room.14:51:16
1 Jan 2025
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.14:26:29
@jopejoe1:matrix.orgjopejoe1 (4094@39c3) changed their display name from jopejoe1 [4094] to jopejoe1.23:29:42
2 Jan 2025
@hashphoenix:matrix.orgOluwapelumi Adeosun joined the room.10:14:00
@kfears:matrix.org@kfears:matrix.org left the room.20:27:11
3 Jan 2025
@elikoga:matrix.orgelikoga changed their display name from elikoga (@38c3 📞488{0,1,9}) to elikoga.10:28:16
4 Jan 2025
@sananatheskenana:matrix.orglzcunt joined the room.20:17:31
6 Jan 2025
@asbjorn:olli.ngA2 changed their display name from A2 (☎️ 61777) to A2.16:49:55
7 Jan 2025
@xin:xiny.lixin joined the room.07:39:50
11 Jan 2025
@pandapip1:matrix.orgpandapip1 joined the room.21:20:15
12 Jan 2025
@Ericson2314:matrix.orgJohn Ericson ah OK putting that old convo together with the blog :) 22:27:34
@Ericson2314:matrix.orgJohn Ericson we are very lucky that exists! 22:29:16
@artemis:arty.chatartemiso/23:19:45
@artemis:arty.chatartemis Admittedly I don't really use nix for anything now except installing software on my steam deck so I don't really have motivation to help with the illumos efforts myself 23:20:22
@artemis:arty.chatartemis Or s/motivation/mental context/ if you like, nix stuff takes awhile for me to get back into since I don't do it much 23:24:50
@Ericson2314:matrix.orgJohn Ericson artemis: all good, were you interested in cross compiling just for nix purposes, or also for another reason? 23:32:48
@Ericson2314:matrix.orgJohn Ericson so far, I built dmake (rebasing that somake port) and cw 23:33:23
@artemis:arty.chatartemis

It was a fun challenge and people said it wasn't possible so I wanted to do it. Ended up getting there with gentoo crossdev and then I was satisfied because I'd pulled it off

But cross comp didn't really seem to serve any practical purpose aside from the particular task of bootstrapping nix, and I couldn't figure out the nixpkgs internals enough to try

My interest in nix on illumos was mostly as an alternative to pkgsrc, in the role of auxiliary package repository

23:38:34
@Ericson2314:matrix.orgJohn Ericson artemis: oh! so you got further than your blog post indicated? 23:39:08
@artemis:arty.chatartemis Yeah I have a half written post about what I got working but I never got it to the point of publishing it 23:39:44
@Ericson2314:matrix.orgJohn Ericsonooo!23:39:53
@artemis:arty.chatartemis I could share what I had though 23:39:59
@Ericson2314:matrix.orgJohn Ericsonyes that would be great23:40:08
@Ericson2314:matrix.orgJohn Ericsonif you have, e.g. like a "compat" library for building stuff on linux with non-illumos glibc (like the freebsd and netbsd compat libs)23:40:46
@Ericson2314:matrix.orgJohn Ericsonthat would be fantastic23:40:52
@Ericson2314:matrix.orgJohn Ericsonin general, if you did it once before, and we can read the code, I think we can "nixify" and merge it in nixpkgs really quick23:41:20
@artemis:arty.chatartemis The way I did it basically was I used gentoo's crossdev tool to build a gcc targeting illumos (took a few tweaks to the gcc config to get it to work, right). Then I bundled up a ton of .so files I ripped off a real system and dropped them into the lib folder so linking against them would work. After that I was able to crossbuild OpenSSL (needed some build system fixes) and its dependencies, maybe a few other things, and with that environment I cross compiled a rust program and copied it over and it worked 23:43:35
@artemis:arty.chatartemis * The way I did it basically was I used gentoo's crossdev tool to build a gcc targeting illumos (took a few tweaks to the gcc config to get it to work right). Then I bundled up a ton of .so files I ripped off a real system and dropped them into the lib folder so linking against them would work. After that I was able to crossbuild OpenSSL (needed some build system fixes) and its dependencies, maybe a few other things, and with that environment I cross compiled a rust program and copied it over and it worked 23:44:05

Show newer messages


Back to Room ListRoom Version: 6