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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pkgs/by-name/mo/moonlight-qt/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
qt6,
pkg-config,
vulkan-headers,
SDL2,
SDL2_classic,
SDL2_ttf,
ffmpeg,
libopus,
Expand Down Expand Up @@ -51,7 +51,7 @@ stdenv.mkDerivation (finalAttrs: {

buildInputs =
[
(SDL2.override { drmSupport = stdenv.hostPlatform.isLinux; })
(SDL2_classic.override { drmSupport = stdenv.hostPlatform.isLinux; })
SDL2_ttf
ffmpeg
libopus
Expand Down
4 changes: 4 additions & 0 deletions pkgs/by-name/mo/movit/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
darwin,
eigen,
libepoxy,
libGL,
libX11,
}:

stdenv.mkDerivation rec {
Expand Down Expand Up @@ -36,6 +38,8 @@ stdenv.mkDerivation rec {
SDL2
fftw
gtest
libGL
libX11
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.OpenGL
Expand Down
6 changes: 5 additions & 1 deletion pkgs/by-name/sd/sdl2-compat/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,11 @@ stdenv.mkDerivation (finalAttrs: {
homepage = "https://libsdl.org";
changelog = "https://github.com/libsdl-org/sdl2-compat/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.zlib;
maintainers = with lib.maintainers; [ nadiaholmquist ];
maintainers = with lib.maintainers; [
nadiaholmquist
grimmauld
marcin-serwin
];
platforms = lib.platforms.all;
pkgConfigModules = [ "sdl2_compat" ];
};
Expand Down
2 changes: 2 additions & 0 deletions pkgs/by-name/th/the-powder-toy/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
jsoncpp,
lib,
libpng,
libX11,
lua,
luajit,
meson,
Expand Down Expand Up @@ -42,6 +43,7 @@ stdenv.mkDerivation rec {
fftwFloat
jsoncpp
libpng
libX11
lua
luajit
SDL2
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/th/theforceengine/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
stdenv,
fetchFromGitHub,
fetchpatch,
SDL2,
SDL2_classic,
SDL2_image,
rtaudio,
rtmidi,
Expand All @@ -16,7 +16,7 @@
}:
let
# package depends on SDL2main static library
SDL2' = SDL2.override {
SDL2' = SDL2_classic.override {
withStatic = true;
};
in
Expand Down
4 changes: 2 additions & 2 deletions pkgs/games/devilutionx/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
pkg-config,
gettext,
libsodium,
SDL2,
SDL2_classic,
SDL2_image,
SDL_audiolib,
flac,
Expand Down Expand Up @@ -99,7 +99,7 @@ stdenv.mkDerivation rec {
fmt
libpng
libsodium
SDL2
SDL2_classic
SDL2_image
SDL_audiolib'
];
Expand Down
5 changes: 3 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10182,8 +10182,9 @@ with pkgs;
};

SDL = SDL_compat;
SDL2 = sdl2-compat;

SDL2 = callPackage ../development/libraries/SDL2 {
SDL2_classic = callPackage ../by-name/sd/SDL2_classic/package.nix {
inherit (darwin.apple_sdk.frameworks) AudioUnit Cocoa CoreAudio CoreServices ForceFeedback OpenGL;
};

Expand Down Expand Up @@ -15773,7 +15774,7 @@ with pkgs;

devilutionx = callPackage ../games/devilutionx {
fmt = fmt_9;
SDL2 = SDL2.override {
SDL2_classic = SDL2_classic.override {
withStatic = true;
};
};
Expand Down