Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 1 addition & 8 deletions doc/languages-frameworks/beam.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,14 +377,7 @@ let

inputs =
basePackages
++ lib.optionals stdenv.hostPlatform.isLinux [ inotify-tools ]
++ lib.optionals stdenv.hostPlatform.isDarwin (
with darwin.apple_sdk.frameworks;
[
CoreFoundation
CoreServices
]
);
++ lib.optionals stdenv.hostPlatform.isLinux [ inotify-tools ];

# define shell startup command
hooks = ''
Expand Down
3 changes: 0 additions & 3 deletions pkgs/applications/audio/cd-discid/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
fetchurl,
lib,
stdenv,
IOKit ? null,
}:

stdenv.mkDerivation rec {
Expand All @@ -19,8 +18,6 @@ stdenv.mkDerivation rec {
"INSTALL=install"
];

buildInputs = [ ] ++ lib.optional stdenv.hostPlatform.isDarwin IOKit;

meta = with lib; {
homepage = "http://linukz.org/cd-discid.shtml";
license = licenses.gpl2Plus;
Expand Down
20 changes: 1 addition & 19 deletions pkgs/applications/audio/chuck/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@
which,
DarwinTools,
xcbuild,
AppKit,
Carbon,
CoreAudio,
CoreMIDI,
CoreServices,
Kernel,
MultitouchSupport,
}:

stdenv.mkDerivation rec {
Expand All @@ -38,18 +31,7 @@ stdenv.mkDerivation rec {
xcbuild
];

buildInputs =
[ libsndfile ]
++ lib.optional (!stdenv.hostPlatform.isDarwin) alsa-lib
++ lib.optionals stdenv.hostPlatform.isDarwin [
AppKit
Carbon
CoreAudio
CoreMIDI
CoreServices
Kernel
MultitouchSupport
];
buildInputs = [ libsndfile ] ++ lib.optional (!stdenv.hostPlatform.isDarwin) alsa-lib;

patches = [ ./darwin-limits.patch ];

Expand Down
6 changes: 0 additions & 6 deletions pkgs/applications/audio/cmus/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
ncurses,
pkg-config,
libiconv,
CoreAudio,
AudioUnit,
VideoToolbox,

alsaSupport ? stdenv.hostPlatform.isLinux,
alsa-lib ? null,
Expand Down Expand Up @@ -152,9 +149,6 @@ stdenv.mkDerivation rec {
[ ncurses ]
++ lib.optionals stdenv.hostPlatform.isDarwin [
libiconv
CoreAudio
AudioUnit
VideoToolbox
]
++ lib.flatten (lib.concatMap (a: a.deps) opts);

Expand Down
8 changes: 0 additions & 8 deletions pkgs/applications/audio/csound/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
bison,
boost,
gettext,
Accelerate,
AudioUnit,
CoreAudio,
CoreMIDI,
portaudio,
alsa-lib ? null,
libpulseaudio ? null,
Expand Down Expand Up @@ -61,10 +57,6 @@ stdenv.mkDerivation {
boost
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
Accelerate
AudioUnit
CoreAudio
CoreMIDI
portaudio
]
++ lib.optionals stdenv.hostPlatform.isLinux (
Expand Down
10 changes: 1 addition & 9 deletions pkgs/applications/audio/espeak-ng/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
pcaudiolib,
sonicSupport ? true,
sonic,
CoreAudio,
AudioToolbox,
AudioUnit,
alsa-plugins,
makeWrapper,
}:
Expand Down Expand Up @@ -63,12 +60,7 @@ stdenv.mkDerivation rec {
buildInputs =
lib.optional mbrolaSupport mbrola
++ lib.optional pcaudiolibSupport pcaudiolib
++ lib.optional sonicSupport sonic
++ lib.optionals stdenv.hostPlatform.isDarwin [
CoreAudio
AudioToolbox
AudioUnit
];
++ lib.optional sonicSupport sonic;

# touch ChangeLog to avoid below error on darwin:
# Makefile.am: error: required file './ChangeLog.md' not found
Expand Down
8 changes: 0 additions & 8 deletions pkgs/applications/audio/ft2-clone/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
alsa-lib,
SDL2,
libiconv,
CoreAudio,
CoreMIDI,
CoreServices,
Cocoa,
}:

stdenv.mkDerivation rec {
Expand All @@ -30,10 +26,6 @@ stdenv.mkDerivation rec {
++ lib.optional stdenv.hostPlatform.isLinux alsa-lib
++ lib.optionals stdenv.hostPlatform.isDarwin [
libiconv
CoreAudio
CoreMIDI
CoreServices
Cocoa
];

passthru.tests = {
Expand Down
2 changes: 0 additions & 2 deletions pkgs/applications/audio/grandorgue/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
libicns,
yaml-cpp,
makeWrapper,
Cocoa,
includeDemo ? true,
}:

Expand Down Expand Up @@ -54,7 +53,6 @@ stdenv.mkDerivation rec {
alsa-lib
udev
]
++ lib.optionals stdenv.hostPlatform.isDarwin [ Cocoa ]
++ lib.optional jackaudioSupport libjack2;

cmakeFlags =
Expand Down
6 changes: 0 additions & 6 deletions pkgs/applications/audio/listenbrainz-mpd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
openssl,
libiconv,
sqlite,
Security,
SystemConfiguration,
CoreFoundation,
installShellFiles,
asciidoctor,
}:
Expand Down Expand Up @@ -41,9 +38,6 @@ rustPlatform.buildRustPackage rec {
if stdenv.hostPlatform.isDarwin then
[
libiconv
Security
SystemConfiguration
CoreFoundation
]
else
[
Expand Down
2 changes: 0 additions & 2 deletions pkgs/applications/audio/littlegptracker/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
SDL2,
python3,
jack2,
Foundation,
alsa-lib,
pkg-config,
}:
Expand All @@ -31,7 +30,6 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs =
[ SDL2 ]
++ lib.optional (lib.meta.availableOn stdenv.hostPlatform alsa-lib) alsa-lib
++ lib.optional stdenv.hostPlatform.isDarwin Foundation
++ lib.optional stdenv.hostPlatform.isLinux jack2;

preBuild = ''
Expand Down
2 changes: 0 additions & 2 deletions pkgs/applications/audio/master_me/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
libXrandr,
pkg-config,
python3,
Cocoa,
}:
stdenv.mkDerivation rec {
pname = "master_me";
Expand All @@ -28,7 +27,6 @@ stdenv.mkDerivation rec {
libGL
python3
]
++ lib.optionals stdenv.hostPlatform.isDarwin [ Cocoa ]
++ lib.optionals stdenv.hostPlatform.isLinux [
libX11
libXext
Expand Down
16 changes: 0 additions & 16 deletions pkgs/applications/audio/midivisualizer/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@
libXcursor,
gtk3,
ffmpeg-full,
AppKit,
Carbon,
Cocoa,
CoreAudio,
CoreMIDI,
CoreServices,
Kernel,
}:

stdenv.mkDerivation (finalAttrs: {
Expand Down Expand Up @@ -49,15 +42,6 @@ stdenv.mkDerivation (finalAttrs: {
libXinerama
libXcursor
gtk3
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
AppKit
Carbon
Cocoa
CoreAudio
CoreMIDI
CoreServices
Kernel
];

installPhase =
Expand Down
9 changes: 1 addition & 8 deletions pkgs/applications/audio/minidsp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
rustPlatform,
stdenv,
libusb1,
AppKit,
IOKit,
pkg-config,
}:
rustPlatform.buildRustPackage rec {
Expand All @@ -24,12 +22,7 @@ rustPlatform.buildRustPackage rec {

cargoBuildFlags = [ "-p minidsp -p minidsp-daemon" ];

buildInputs =
lib.optionals stdenv.hostPlatform.isLinux [ libusb1 ]
++ lib.optionals stdenv.hostPlatform.isDarwin [
AppKit
IOKit
];
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ libusb1 ];

nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ pkg-config ];

Expand Down
6 changes: 0 additions & 6 deletions pkgs/applications/audio/mmlgui/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
libX11,
libXau,
libXdmcp,
Carbon,
Cocoa,
cppunit,
}:

Expand Down Expand Up @@ -61,10 +59,6 @@ stdenv.mkDerivation {
libX11
libXau
libXdmcp
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
Carbon
Cocoa
];

checkInputs = [
Expand Down
2 changes: 0 additions & 2 deletions pkgs/applications/audio/moc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
popt,
libtool,
libiconv,
CoreServices,
# Sound sub-systems
alsaSupport ? (!stdenv.hostPlatform.isDarwin),
alsa-lib,
Expand Down Expand Up @@ -125,7 +124,6 @@ stdenv.mkDerivation {
++ lib.optional samplerateSupport libsamplerate
++ lib.optionals stdenv.hostPlatform.isDarwin [
libiconv
CoreServices
];

configureFlags = [
Expand Down
4 changes: 0 additions & 4 deletions pkgs/applications/audio/mpg123/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
withPulse ? stdenv.hostPlatform.isLinux,
libpulseaudio,
withCoreAudio ? stdenv.hostPlatform.isDarwin,
AudioUnit,
AudioToolbox,
withJack ? stdenv.hostPlatform.isUnix,
jack,
withConplay ? !stdenv.hostPlatform.isWindows,
Expand Down Expand Up @@ -45,8 +43,6 @@ stdenv.mkDerivation rec {
++ lib.optionals withAlsa [ alsa-lib ]
++ lib.optionals withPulse [ libpulseaudio ]
++ lib.optionals withCoreAudio [
AudioUnit
AudioToolbox
]
++ lib.optionals withJack [ jack ]
);
Expand Down
2 changes: 0 additions & 2 deletions pkgs/applications/audio/muso/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
rustPlatform,
pkg-config,
wrapGAppsHook3,
CoreServices,
}:

rustPlatform.buildRustPackage rec {
Expand All @@ -23,7 +22,6 @@ rustPlatform.buildRustPackage rec {
pkg-config
wrapGAppsHook3
];
buildInputs = lib.optional stdenv.hostPlatform.isDarwin CoreServices;

preConfigure = ''
substituteInPlace lib/utils.rs \
Expand Down
4 changes: 1 addition & 3 deletions pkgs/applications/audio/parrot/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
unstableGitUpdater,
openssl,
pkg-config,
stdenv,
yt-dlp,
Security,
}:
rustPlatform.buildRustPackage {
pname = "parrot";
Expand All @@ -36,7 +34,7 @@ rustPlatform.buildRustPackage {
buildInputs = [
libopus
openssl
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
];

postInstall = ''
wrapProgram $out/bin/parrot \
Expand Down
4 changes: 1 addition & 3 deletions pkgs/applications/audio/schismtracker/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
SDL2,
libX11,
libXext,
Cocoa,
utf8proc,
nix-update-script,
}:
Expand Down Expand Up @@ -64,8 +63,7 @@ stdenv.mkDerivation rec {
++ lib.optionals stdenv.hostPlatform.isLinux [
alsa-lib
libXext
]
++ lib.optionals stdenv.hostPlatform.isDarwin [ Cocoa ];
];

enableParallelBuilding = true;

Expand Down
Loading