mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
Merge pull request #108651 from holymonson/mark-broken
darwin: explicitly mark broken for failed building apple packages
This commit is contained in:
commit
eeaca31048
@ -5,4 +5,10 @@ appleDerivation {
|
||||
mkdir -p $out/include/hfs
|
||||
cp core/*.h $out/include/hfs
|
||||
'';
|
||||
|
||||
meta = {
|
||||
# Seems nobody wants its binary, so we didn't implement building.
|
||||
broken = !headersOnly;
|
||||
platforms = lib.platforms.darwin;
|
||||
};
|
||||
}
|
||||
|
@ -1,8 +1,8 @@
|
||||
{ stdenv, appleDerivation, libdispatch, Libsystem }:
|
||||
{ lib, stdenv, appleDerivation, libdispatch, Libsystem }:
|
||||
|
||||
appleDerivation {
|
||||
# these are included in the pure libc
|
||||
buildInputs = stdenv.lib.optionals stdenv.cc.nativeLibc [ libdispatch Libsystem ];
|
||||
buildInputs = lib.optionals stdenv.cc.nativeLibc [ libdispatch Libsystem ];
|
||||
|
||||
buildPhase = ''
|
||||
cp ${./auto_dtrace.h} ./auto_dtrace.h
|
||||
@ -79,6 +79,8 @@ appleDerivation {
|
||||
'';
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.darwin;
|
||||
# libauto is only used by objc4/pure.nix , but objc4 is now using the impure approach, so we don't bother to fix this.
|
||||
broken = true;
|
||||
platforms = lib.platforms.darwin;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user