!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1136 Members
“There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org180 Servers

Load older messages


SenderMessageTime
24 Oct 2025
@emilazy:matrix.orgemilythough I deleted most of that stuff02:28:38
@samasaur:matrix.orgsamasauri'm really baffled by why CFNetwork and Network behave differently02:29:01
@samasaur:matrix.orgsamasaurthey appear to be treated identically by qt, and we don't seem to do any patching for either of those explicitly02:29:51
@samasaur:matrix.orgsamasaurso as I understand it either both should be picked up from the SDK or neither should be02:30:11
@reckenrode:matrix.orgRandy EckenrodeThat would remove the SDK. You’d have to add it back.02:31:05
@emilazy:matrix.orgemilyright02:31:40
@emilazy:matrix.orgemily seems best to just fix the cross stdenv. if only I knew why it was broken 02:31:47
@reckenrode:matrix.orgRandy Eckenrode I think less specific to this example is coming up with a solution to the general problem of conditional arguments. The solution given in the by-name RFC was to add your package to all-packages.nix, but it seems the desire now is not to have packages there? 02:32:19
@reckenrode:matrix.orgRandy EckenrodeThat’s one example. It’s potentially anything that has a recursive dependency that the bootstrap had to break up.02:33:03
@reckenrode:matrix.orgRandy Eckenrode Like in the old source-based SDK how xnu depended on python3 but relied on the bootstrap to override it with python3Minimal to break the infinite recursion. 02:34:15
@emilazy:matrix.orgemilythat shouldn't be an issue for cross though02:38:40
@emilazy:matrix.orgemilysince cross already has a bootstrapped toolchain02:38:44
@emilazy:matrix.orgemilyright?02:38:51
@emilazy:matrix.orgemily it's only buildInputs, not nativeBuildInputs, that can cause problems 02:39:03
@reckenrode:matrix.orgRandy EckenrodeIIRC, it was an issue with adding cross support to the old SDK.02:39:20
@emilazy:matrix.orgemily well, this is details of the exact arrangement of bootstrap leaking into individual packages, which is not ideal since the former can change and it's why all the overlays/overrides are in pkgs/stdenv to begin with 02:39:56
@emilazy:matrix.orgemilyhttps://github.com/NixOS/nixpkgs/pull/444420 addressed the most common case of overrides by far02:40:27
@emilazy:matrix.orgemily the nominal convention would be to give atf a withStdenvPackage if one really wants to provide its override as a public API but that would be quite ridiculous 02:40:51
@reckenrode:matrix.orgRandy Eckenrode But this is also beside the point. Any package that conditionally set a parameter had to do it in the attrset passed to callPackage because you can’t do it in the function arguments definition (because callPackage will see them and ignore it IIRC). 02:41:17
@emilazy:matrix.orgemilya much richer override interface that has explicit delineation of public API and supports real interface stability and fancier defaults is something I am thinking about02:41:20
@reckenrode:matrix.orgRandy Eckenrode * But this is all beside the point. Any package that conditionally set a parameter had to do it in the attrset passed to callPackage because you can’t do it in the function arguments definition (because callPackage will see them and ignore it IIRC). 02:41:29
@emilazy:matrix.orgemilybut this specific case is really marginal02:41:36
@reckenrode:matrix.orgRandy EckenrodeVersion-specific arguments make the Haskell package set extremely annoying to use if you don’t want an LTS release.02:44:26
@emilazy:matrix.orgemilythe Haskell package set is specifically designed around pinning a specific Stackage LTS02:45:09
@emilazy:matrix.orgemilythough they are working on maintaining a parallel Nightly package set AIUI02:45:16
@reckenrode:matrix.orgRandy EckenrodeYeah. I hate it for applications.02:45:30
@reckenrode:matrix.orgRandy EckenrodeI want to use the latest hledger because it has some QoL improvements, but I can’t because that’s not what’s in the Stackage LTS.02:46:22
@emilazy:matrix.orgemilyyou can have specific additional versions of given packages, AIUI02:46:41
@emilazy:matrix.orgemilyit just needs adding in the config file02:46:45
@reckenrode:matrix.orgRandy EckenrodeI have something hacky that works for a somewhat newer version, but I don’t think I can govnewer than that.02:46:49

Show newer messages


Back to Room ListRoom Version: 6