Skip to content

Commit 309e8a5

Browse files
authored
SDL_sound: fix cross build (#367712)
2 parents d5c534c + c015257 commit 309e8a5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pkgs/by-name/sd/SDL_sound/package.nix

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ stdenv.mkDerivation (finalAttrs: {
1919
hash = "sha256-OZn9C7tIUomlK+FLL2i1ccuE44DMQzh+rfd49kx55t8=";
2020
};
2121

22-
nativeBuildInputs = [
23-
SDL
24-
];
25-
2622
buildInputs = [
2723
SDL
2824
flac
@@ -34,6 +30,8 @@ stdenv.mkDerivation (finalAttrs: {
3430
(lib.enableFeature enableSdltest "sdltest")
3531
];
3632

33+
env.SDL_CONFIG = lib.getExe' SDL.dev "sdl-config";
34+
3735
strictDeps = true;
3836

3937
meta = {

0 commit comments

Comments
 (0)