!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

214 Members
69 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
19 Jun 2025
@rosssmyth:matrix.orgrosssmyth* So far I've found building for mingwW64 to be pretty easy. I have a Rust DLL I ship to customers I build with Nix. 15:44:26
@rosssmyth:matrix.orgrosssmythAnd my setup is basically this https://github.com/RossSmyth/rustNixExample/blob/rustTemplate/flake.nix15:45:02
20 Jun 2025
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC) Not sure if here is the place to ask it, but why don't we set __darwinAllowLocalNetworking = true in darwin stdenv? 16:08:32
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)This is causing problems for contributors, just because the situation on darwin platform is different from Linux, and people without a machine don't know how to properly fix it.16:10:23
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)And it's even undocumented16:14:50
@emilazy:matrix.orgemilyit's a purity hole17:23:53
@emilazy:matrix.orgemilyDarwin doesn't have network namespaces, Linux does17:23:57
@emilazy:matrix.orgemilyin particular you can puncture the sandbox with it somewhat, although the Darwin sandbox is moderately porous to begin with17:24:28
@emilazy:matrix.orgemily see e.g. https://github.com/NixOS/nix/pull/11270#issue-2456432178 17:25:03
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)
In reply to @emilazy:matrix.org
see e.g. https://github.com/NixOS/nix/pull/11270#issue-2456432178
That's pretty unfortunate
17:49:09
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)But what we are mostly doing now is just enabling it for derivations needing it17:50:07
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)instead of e.g. skipping related tests17:50:37
@emilazy:matrix.orgemilyright. well I don't think it's a problem to set when needed17:53:44
@emilazy:matrix.orgemilyit might not be the end of the world to just allow the networking stuff unconditionally. but conversely I don't think it's that bad to have to add one line for packages that require it either17:54:02
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)
In reply to @emilazy:matrix.org
it might not be the end of the world to just allow the networking stuff unconditionally. but conversely I don't think it's that bad to have to add one line for packages that require it either
The problem is, we haven't documented it, and a lot of people just don't know it exists
17:54:52

Show newer messages


Back to Room ListRoom Version: 9