mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
8dfed1b9a4
Fail to build with ninja 1.12 when NIX_BUILD_CORES is low (Hydra or Github Actions): ``` ld: warning: directory not found for option '-L/nix/store/g9rbp9m6vs1xj4jl6b6vjb6bm8kgr107-SDKs/MacOSX10.15.sdk/usr/lib/swift' ... ld: warning: Could not find or use auto-linked library 'swiftCompatibility56' Undefined symbols for architecture arm64: "__swift_FORCE_LOAD_$_swiftCompatibility56", referenced from: __swift_FORCE_LOAD_$_swiftCompatibility56_$_Optimizer in libswiftCompilerModules-bootstrapping1.a(Optimizer.o) ... ``` Can reproduce using `nix --option cores 2 build -f . swiftPackages.swift-unwrapped`. Until we find out the exact cause, follow [swift upstream][1], pin ninja to version 1.11.1. [1]: https://github.com/swiftlang/swift/pull/72989 |
||
---|---|---|
.. | ||
compiler | ||
foundation | ||
libdispatch | ||
sourcekit-lsp | ||
swift-docc | ||
swift-driver | ||
swift-format | ||
swiftpm | ||
swiftpm2nix | ||
wrapper | ||
xctest | ||
default.nix | ||
sources.nix |