From 228feb709b63a8f0a80b55d9248d8b05dfa70c2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20=C8=98erb=C4=83nescu?= Date: Fri, 11 Nov 2022 21:53:29 +0100 Subject: [PATCH] speed-dreams: fixed build --- pkgs/games/speed-dreams/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/games/speed-dreams/default.nix b/pkgs/games/speed-dreams/default.nix index b97e755b2753..d06e3c1aa158 100644 --- a/pkgs/games/speed-dreams/default.nix +++ b/pkgs/games/speed-dreams/default.nix @@ -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