diff --git a/pkgs/by-name/gl/gltron/package.nix b/pkgs/by-name/gl/gltron/package.nix index 7ea01f14b7295..1ceebc33f76ad 100644 --- a/pkgs/by-name/gl/gltron/package.nix +++ b/pkgs/by-name/gl/gltron/package.nix @@ -39,6 +39,10 @@ stdenv.mkDerivation rec { # The build fails, unless we disable the default -Wall -Werror configureFlags = [ "--disable-warn" ]; + makeFlags = [ "AR=${stdenv.cc.targetPrefix}ar" ]; + + env.SDL_CONFIG = lib.getExe' SDL.dev "sdl-config"; + buildInputs = [ SDL libGLU @@ -50,6 +54,7 @@ stdenv.mkDerivation rec { SDL_sound ]; + strictDeps = true; enableParallelBuilding = true; meta = {