From c015257a4499c330d4cd2f9436210506e30057b0 Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Mon, 23 Dec 2024 18:35:29 +0100 Subject: [PATCH] SDL_sound: fix cross build --- pkgs/by-name/sd/SDL_sound/package.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/sd/SDL_sound/package.nix b/pkgs/by-name/sd/SDL_sound/package.nix index 2c32e32960da6..189a2ac4f67f1 100644 --- a/pkgs/by-name/sd/SDL_sound/package.nix +++ b/pkgs/by-name/sd/SDL_sound/package.nix @@ -19,10 +19,6 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-OZn9C7tIUomlK+FLL2i1ccuE44DMQzh+rfd49kx55t8="; }; - nativeBuildInputs = [ - SDL - ]; - buildInputs = [ SDL flac @@ -34,6 +30,8 @@ stdenv.mkDerivation (finalAttrs: { (lib.enableFeature enableSdltest "sdltest") ]; + env.SDL_CONFIG = lib.getExe' SDL.dev "sdl-config"; + strictDeps = true; meta = {