speed-dreams: fixed build

This commit is contained in:
Daniel Șerbănescu 2022-11-11 21:53:29 +01:00 committed by Bjørn Forsman
parent f685fe84c3
commit 228feb709b

View File

@ -56,6 +56,9 @@ stdenv.mkDerivation rec {
done
'';
# RPATH of binary /nix/store/.../lib64/games/speed-dreams-2/drivers/shadow_sc/shadow_sc.so contains a forbidden reference to /build/
cmakeFlags = [ "-DCMAKE_SKIP_BUILD_RPATH=ON" ];
nativeBuildInputs = [ pkg-config cmake ];
buildInputs = [ libpng libGLU libGL freeglut libX11 plib openal freealut libXrandr xorgproto