!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

196 Members
63 Servers

Load older messages


SenderMessageTime
18 Jun 2025
@qyliss:fairydust.spaceAlyssa Ross(Not saying this isn't a good idea)17:42:00
@tomberek:matrix.orgtomberek joined the room.17:45:59
@tomberek:matrix.orgtomberekWould the stdenv folks be interested in a relocatable store, a relocatable Nix? The SC is exploring this as a possible roadmap effort and a big part of it would be building some momentum with the core+stdenv that requires more specialized experience. Don't have all the details figured out, but trying to gauge the interest.17:57:09
@qyliss:fairydust.spaceAlyssa RossThere are situations where it would be useful for sure but I'd expect it to be an immense effort17:58:02
@weethet:catgirl.cloudWeetHet
In reply to @tomberek:matrix.org
Would the stdenv folks be interested in a relocatable store, a relocatable Nix? The SC is exploring this as a possible roadmap effort and a big part of it would be building some momentum with the core+stdenv that requires more specialized experience. Don't have all the details figured out, but trying to gauge the interest.
Not an stdenv folk but if I understand correctly, this would allow moving the darwin store out of a separate partition which would certainly be nice
18:02:22
@emilazy:matrix.orgemilyI've explored the idea (not in code, just in my head) and I would like it but I agree with Alyssa that it would be super tough in a lot of ways – it's not just linker stuff but a bunch of ecosystems fractally expecting absolute paths to work, so I think it would involve substantial patching of many many packages18:03:14
@emilazy:matrix.orgemily(hopefully some of that could go upstream, but I know some projects are happy assuming absolute paths)18:03:31
@tomberek:matrix.orgtomberekIt being a large effort is why we're trying to see if there is interest, what kind of funding would be needed, to do a feasibility analysis, etc.18:03:35
@emilazy:matrix.orgemily linker stuff is an issue too though: e.g., the path to the dynamic loader for Linux shared executables is absolute, and that's a kernel-level limitation. you can use $ORIGIN in library paths but not for the loader itself. I think you can work around it by linking binaries as effectively "static PIEs" with their own startup code that finds their dynamic loader and execs it 18:04:37
@emilazy:matrix.orgemilybut definitely pretty deep toolchain surgery to make that work, I've wanted to prototype it but no time18:04:53
@emilazy:matrix.orgemily(not sure if an explicit exec would always work without weirdness or if it'd have to be "load the dynamic loader into memory in userspace" which would be painful)18:05:46
@qyliss:fairydust.spaceAlyssa RossMy instinct here is that the cure is worse than the disease18:32:21
@reckenrode:matrix.orgRandy Eckenrode
In reply to @weethet:catgirl.cloud
Not an stdenv folk but if I understand correctly, this would allow moving the darwin store out of a separate partition which would certainly be nice
Having it on a separate partition also comes with benefits (like being able to have a case-sensitive store).
19:56:10
@reckenrode:matrix.orgRandy EckenrodeRelocatable store seems like it would have the same difficulties as CA derivations with needing to update path references.19:58:13
@reckenrode:matrix.orgRandy EckenrodeI’d rather see CA derivations stabilized if I had to choose.19:58:35
@rosssmyth:matrix.orgrosssmyth joined the room.20:48:00
@rosssmyth:matrix.orgrosssmyth I really like the work that has been going into stdenv recently. Primarily from Tristan Ross (though others too). I try silly stdenv stuff at work often and the work being done make it more possible to do in the future. 21:02:18
@rosssmyth:matrix.orgrosssmyththanks21:02:19
@rosssmyth:matrix.orgrosssmyth376197 is one I am looking forward too because I tried wrestling pkgsCross in the past and the way the CPU attributes are setup now made it harder than it needed to be 21:04:20
@rosssmyth:matrix.orgrosssmyth* 376197 is one I am looking forward to because I tried wrestling pkgsCross in the past and the way the CPU attributes are setup now made it harder than it needed to be 21:04:24
@rosscomputerguy:matrix.orgTristan Ross
In reply to @rosssmyth:matrix.org
376197 is one I am looking forward too because I tried wrestling pkgsCross in the past and the way the CPU attributes are setup now made it harder than it needed to be
Yeah, that PR is delayed because the toolchain attributes PR is needed.
21:06:04
@rosssmyth:matrix.orgrosssmythI work in embedded, so I've found some fun corners of the pkgsCross system that lead to me mainly giving up on using it for now. One is that cmake's targets are not the same as clang's, so for certain triples compiler-rt seems to be built for the wrong target. I think that was the outcome of one afternoon of staring at logs a couple months ago.21:12:53
@rosscomputerguy:matrix.orgTristan Ross Yeah, that's one of the use cases that I had thought of for the platform improvements 21:14:58
@rosscomputerguy:matrix.orgTristan RossThe idea is to be able to manipulate as much as possible.21:15:10
@rosscomputerguy:matrix.orgTristan Ross There's obviously combinations which don't work 21:15:35
@rosscomputerguy:matrix.orgTristan RossBut there's combinations which would work and it would be better than what we can provide currently.21:15:58
@reckenrode:matrix.orgRandy EckenrodeIf the cross situation can get to the point where building stuff with Wine is less painful, that would be great.21:59:01
@reckenrode:matrix.orgRandy Eckenrode* If the cross situation can get to the point where building Wine (and DLLs for Wine) is less painful, that would be great.21:59:44
19 Jun 2025
@fliegendewurst:matrix.orgFliegendeWurst (@GPN23) changed their display name from FliegendeWurst to FliegendeWurst (@GPN23).12:29:32
@rosssmyth:matrix.orgrosssmythSo far I've found building with mingwW64 to be pretty easy. I have a Rust DLL I ship to customers I build with Nix. 15:44:20

Show newer messages


Back to Room ListRoom Version: 9