mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-04 09:56:13 +03:00
cmus: fix build on aarch64-darwin
This commit is contained in:
parent
5181d5945e
commit
ed97ebc9d2
@ -1,5 +1,5 @@
|
||||
{ config, lib, stdenv, fetchFromGitHub, runCommand, ncurses, pkg-config
|
||||
, libiconv, CoreAudio, AudioUnit
|
||||
, libiconv, CoreAudio, AudioUnit, VideoToolbox
|
||||
|
||||
, alsaSupport ? stdenv.isLinux, alsa-lib ? null
|
||||
# simple fallback for everyone else
|
||||
@ -121,7 +121,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ ncurses ]
|
||||
++ lib.optional stdenv.cc.isClang clangGCC
|
||||
++ lib.optionals stdenv.isDarwin [ libiconv CoreAudio AudioUnit ]
|
||||
++ lib.optionals stdenv.isDarwin [ libiconv CoreAudio AudioUnit VideoToolbox ]
|
||||
++ flatten (concatMap (a: a.deps) opts);
|
||||
|
||||
makeFlags = [ "LD=$(CC)" ];
|
||||
|
@ -25137,7 +25137,7 @@ with pkgs;
|
||||
cmctl = callPackage ../applications/networking/cluster/cmctl { };
|
||||
|
||||
cmus = callPackage ../applications/audio/cmus {
|
||||
inherit (darwin.apple_sdk.frameworks) AudioUnit CoreAudio;
|
||||
inherit (darwin.apple_sdk.frameworks) AudioUnit CoreAudio VideoToolbox;
|
||||
libjack = libjack2;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user