darwin.apple_sdk: add libs.simd stub
Making it fail at build time allows it to be used unversioned with `overrideSDK`. Unlike the QuickTime framework, which is present in the base SDK and was later removed, simd was added later.
This commit is contained in:
parent
c078f3fb7b
commit
e125b70c8b
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, cpio, pbzx, pkgs, lib, darwin-stubs, print-reexports }:
|
||||
{ stdenv, stdenvNoCC, fetchurl, cpio, pbzx, pkgs, lib, darwin-stubs, print-reexports }:
|
||||
|
||||
let
|
||||
# sadly needs to be exported because security_tool needs it
|
||||
@ -263,6 +263,15 @@ in rec {
|
||||
ln -s libsandbox.1.tbd $out/lib/libsandbox.tbd
|
||||
'';
|
||||
};
|
||||
|
||||
simd = stdenvNoCC.mkDerivation {
|
||||
name = "apple-lib-simd";
|
||||
|
||||
preferLocalBuild = true;
|
||||
allowSubstitutes = false;
|
||||
|
||||
buildCommand = "echo 'simd library not available in the 10.12 SDK'; exit 1";
|
||||
};
|
||||
};
|
||||
|
||||
overrides = super: {
|
||||
|
Loading…
Reference in New Issue
Block a user