!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

218 Members
69 Servers

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


SenderMessageTime
6 Jan 2025
@emilazy:matrix.orgemily I guess the per-platform bootstrap stages don't necessarily know whether cc is going to be set in the stdenv? 🤔 19:48:16
@emilazy:matrix.orgemily

right now we do this kind of thing

      thisStdenv = import ../generic {
        name = "${name}-stdenv-darwin";

        buildPlatform = localSystem;
        hostPlatform = localSystem;
        targetPlatform = localSystem;

        inherit config;

        extraBuildInputs = [ prevStage.apple-sdk ];
        inherit extraNativeBuildInputs;
19:48:50
@emilazy:matrix.orgemily but including the SDK in stdenvNoCC pulls in a bunch of stuff 19:49:02
@reckenrode:matrix.orgRandy Eckenrode Did the old stdenvNoCC include CoreFoundation? 19:53:05
@reckenrode:matrix.orgRandy Eckenrode It’s picking up extraBuildPackages? 19:53:28
@reckenrode:matrix.orgRandy Eckenrode * It’s picking up extraBuildInputs? 19:53:40
@emilazy:matrix.orgemilyhttps://github.com/NixOS/nixpkgs/issues/37146519:54:30
@reckenrode:matrix.orgRandy EckenrodeI saw the issue. Was this not a problem no one noticed before because it was just the CoreFoundation headers and stubs?19:55:11
@reckenrode:matrix.orgRandy Eckenrode * 19:55:41
@reckenrode:matrix.orgRandy Eckenrode The SDK pulls in a toolchain because it symlinks some stuff in $DEVELOPER_DIR/usr/bin because Chromium. 19:57:06
@reckenrode:matrix.orgRandy Eckenrode Isn’t the easy fix to drop extraBuildInputs on Darwin? 19:57:40
@reckenrode:matrix.orgRandy Eckenrode * Isn’t the easy fix to drop extraBuildInputs from stdenvNoCC on Darwin? 19:57:56
@emilazy:matrix.orgemilyyes19:58:31
@emilazy:matrix.orgemilyI was trying to figure out how to do this19:58:34

Show newer messages


Back to Room ListRoom Version: 9