diff options
author | Pascal Wittmann <mail@pascal-wittmann.de> | 2022-04-19 09:19:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-19 09:19:31 +0200 |
commit | 9e6887b3e5d90b3a7c8c08db1c8892848c86d309 (patch) | |
tree | e8b5378a31dac943b2c776005eadb5c082728fa5 /pkgs/applications | |
parent | 46b44f02e24f0ff4d0c3ca51c71afcc746a825e6 (diff) | |
parent | 69b65787e8060b2e20c77d38d307dfd52d09af17 (diff) |
Merge pull request #168281 from misuzu/moc-darwin
moc: build on darwin
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/audio/moc/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/applications/audio/moc/default.nix b/pkgs/applications/audio/moc/default.nix index 1d26782b6ae02..4abf799d01551 100644 --- a/pkgs/applications/audio/moc/default.nix +++ b/pkgs/applications/audio/moc/default.nix @@ -1,7 +1,8 @@ { lib, stdenv, fetchurl, pkg-config , ncurses, db , popt, libtool +, libiconv, CoreServices # Sound sub-systems -, alsaSupport ? true, alsa-lib +, alsaSupport ? (!stdenv.isDarwin), alsa-lib , pulseSupport ? true, libpulseaudio, autoreconfHook , jackSupport ? true, libjack2 , ossSupport ? true @@ -64,7 +65,8 @@ in stdenv.mkDerivation rec { ++ opt wavpackSupport wavpack # Misc ++ opt curlSupport curl - ++ opt samplerateSupport libsamplerate; + ++ opt samplerateSupport libsamplerate + ++ lib.optionals stdenv.isDarwin [ libiconv CoreServices ]; configureFlags = [ # Sound sub-systems @@ -97,6 +99,6 @@ in stdenv.mkDerivation rec { homepage = "http://moc.daper.net/"; license = licenses.gpl2; maintainers = with maintainers; [ aethelz pSub jagajaga ]; - platforms = platforms.linux; + platforms = platforms.unix; }; } |