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 = {