nixpkgs/pkgs/os-specific/darwin/swift-corelibs
Randy Eckenrode 8bee297d15
swift-corelibs: actually provide and use the hook
@emilazy found a bug in #234861. Specifically, the hook is not actually
applied. e2fsprogs links against darwin.CF, but since it cannot find the
framework by rpath, it crashes.

Since the hook should always be used, it is copied directly to
`nix-support/setup-hook` instead of providing it as an attribute. This
preserves dropping the hook in the cross-compilation case while
providing it for everything else that needs it.

To avoid further churn and due to the complexity of building the stdenv
with the hook active, this change required the stdenv rework.
2023-07-02 17:56:25 -04:00
..
0001-Add-missing-TARGET_OS_-defines.patch darwin.CF: Include missing TARGET_OS_* defines 2021-11-24 15:17:13 -08:00
0002-Add-missing-launchd-header.patch swift-corelibs: fix build with clang 16 2023-07-02 17:56:25 -04:00
0003-Fix-incompatible-pointer-conversion.patch swift-corelibs: fix build with clang 16 2023-07-02 17:56:25 -04:00
0004-Fix-Darwin-cmake-build.patch swift-corelibs: switch build system to cmake 2023-07-02 17:56:25 -04:00
0005-Fix-framework-installation-path.patch swift-corelibs: switch build system to cmake 2023-07-02 17:56:25 -04:00
0006-System-CF-framework-compatibility.patch swift-corelibs: switch build system to cmake 2023-07-02 17:56:25 -04:00
0007-Use-nixpkgs-icu.patch swift-corelibs: switch to nixpkgs icu 2023-07-02 17:56:25 -04:00
0008-Dont-link-libcurl.patch swift-corelibs: don’t link against libcurl 2023-07-02 17:56:25 -04:00
corefoundation.nix swift-corelibs: actually provide and use the hook 2023-07-02 17:56:25 -04:00
libdispatch.nix treewide: cmake buildInputs to nativeBuildInputs, minor cleanups 2021-01-01 11:52:33 +07:00
pure-corefoundation-hook.sh swift-corelibs: set NIX_COREFOUNDATION_RPATH in a hook 2023-05-29 15:43:58 -04:00