mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
shipwright: update to apple-sdk pattern
This commit is contained in:
parent
3ff8deb4c1
commit
04136354ee
@ -25,12 +25,9 @@
|
|||||||
, zenity
|
, zenity
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, darwin
|
, darwin
|
||||||
|
, apple-sdk_11
|
||||||
, libicns
|
, libicns
|
||||||
}:
|
}:
|
||||||
let
|
|
||||||
inherit (darwin.apple_sdk_11_0.frameworks)
|
|
||||||
IOSurface Metal QuartzCore Cocoa AVFoundation;
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "shipwright";
|
pname = "shipwright";
|
||||||
version = "8.0.6";
|
version = "8.0.6";
|
||||||
@ -85,14 +82,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
libXext
|
libXext
|
||||||
libpulseaudio
|
libpulseaudio
|
||||||
zenity
|
zenity
|
||||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
] ++ lib.optional stdenv.hostPlatform.isDarwin apple-sdk_11;
|
||||||
IOSurface
|
|
||||||
Metal
|
|
||||||
QuartzCore
|
|
||||||
Cocoa
|
|
||||||
AVFoundation
|
|
||||||
darwin.apple_sdk_11_0.libs.simd
|
|
||||||
];
|
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
(lib.cmakeBool "NON_PORTABLE" true)
|
(lib.cmakeBool "NON_PORTABLE" true)
|
||||||
|
@ -34088,9 +34088,7 @@ with pkgs;
|
|||||||
|
|
||||||
keeperrl = callPackage ../games/keeperrl { };
|
keeperrl = callPackage ../games/keeperrl { };
|
||||||
|
|
||||||
shipwright = callPackage ../games/shipwright {
|
shipwright = callPackage ../games/shipwright { };
|
||||||
stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv;
|
|
||||||
};
|
|
||||||
|
|
||||||
wipeout-rewrite = callPackage ../games/wipeout-rewrite {
|
wipeout-rewrite = callPackage ../games/wipeout-rewrite {
|
||||||
inherit (darwin.apple_sdk.frameworks) Foundation;
|
inherit (darwin.apple_sdk.frameworks) Foundation;
|
||||||
|
Loading…
Reference in New Issue
Block a user