forked from mirrors/nixpkgs
Merge pull request #205238 from wegank/scummvm-darwin
This commit is contained in:
commit
eed4d5c92f
pkgs
|
@ -36,7 +36,9 @@ stdenv.mkDerivation rec {
|
|||
postConfigure = ''
|
||||
sed -i "s/-c -s/-c -s --strip-program=''${STRIP@Q}/" ports.mk
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace config.mk --replace x86_64-apple-darwin-ranlib ${cctools}/bin/ranlib
|
||||
substituteInPlace config.mk \
|
||||
--replace x86_64-apple-darwin-ranlib ${cctools}/bin/ranlib \
|
||||
--replace aarch64-apple-darwin-ranlib ${cctools}/bin/ranlib
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -34736,6 +34736,7 @@ with pkgs;
|
|||
};
|
||||
|
||||
scummvm = callPackage ../games/scummvm {
|
||||
stdenv = if (stdenv.isDarwin && stdenv.isAarch64) then llvmPackages_14.stdenv else stdenv;
|
||||
inherit (darwin) cctools;
|
||||
inherit (darwin.apple_sdk.frameworks) Cocoa AudioToolbox Carbon CoreMIDI AudioUnit;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue