SDL_compat: sign on Darwin
This commit is contained in:
parent
b823c2a2fa
commit
92ef3744f0
|
@ -6,6 +6,7 @@
|
||||||
, SDL2
|
, SDL2
|
||||||
, libiconv
|
, libiconv
|
||||||
, Cocoa
|
, Cocoa
|
||||||
|
, autoSignDarwinBinariesHook
|
||||||
, libGLSupported ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms
|
, libGLSupported ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms
|
||||||
, openglSupport ? libGLSupported
|
, openglSupport ? libGLSupported
|
||||||
, libGL
|
, libGL
|
||||||
|
@ -27,7 +28,8 @@ stdenv.mkDerivation rec {
|
||||||
hash = "sha256-8b9rFI4iRpBJqeJ2KRJ9vRyv9gYwa9jRWCuXRfA3x50=";
|
hash = "sha256-8b9rFI4iRpBJqeJ2KRJ9vRyv9gYwa9jRWCuXRfA3x50=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkg-config ];
|
nativeBuildInputs = [ cmake pkg-config ]
|
||||||
|
++ optionals (stdenv.isDarwin && stdenv.isAarch64) [ autoSignDarwinBinariesHook ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ SDL2 ]
|
propagatedBuildInputs = [ SDL2 ]
|
||||||
++ optionals stdenv.hostPlatform.isDarwin [ libiconv Cocoa ]
|
++ optionals stdenv.hostPlatform.isDarwin [ libiconv Cocoa ]
|
||||||
|
|
|
@ -22867,6 +22867,7 @@ with pkgs;
|
||||||
|
|
||||||
SDL_compat = callPackage ../development/libraries/SDL_compat {
|
SDL_compat = callPackage ../development/libraries/SDL_compat {
|
||||||
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
||||||
|
inherit (darwin) autoSignDarwinBinariesHook;
|
||||||
};
|
};
|
||||||
|
|
||||||
SDL = SDL_classic;
|
SDL = SDL_classic;
|
||||||
|
|
Loading…
Reference in a new issue