Loading pkgs/by-name/sd/SDL_compat/package.nix +17 −3 Original line number Diff line number Diff line Loading @@ -59,12 +59,26 @@ stdenv.mkDerivation (finalAttrs: { dontPatchELF = true; # don't strip rpath cmakeFlags = [ (lib.cmakeFeature "CMAKE_INSTALL_RPATH" (lib.makeLibraryPath [ sdl2-compat ])) cmakeFlags = let rpath = lib.makeLibraryPath [ sdl2-compat ]; in [ (lib.cmakeFeature "CMAKE_INSTALL_RPATH" rpath) (lib.cmakeFeature "CMAKE_BUILD_RPATH" rpath) (lib.cmakeBool "SDL12TESTS" finalAttrs.finalPackage.doCheck) ]; enableParallelBuilding = true; # Darwin fails with "Critical error: required built-in appearance SystemAppearance not found" doCheck = !stdenv.hostPlatform.isDarwin; checkPhase = '' runHook preCheck ./testver runHook postCheck ''; postInstall = '' # allow as a drop in replacement for SDL # Can be removed after treewide switch from pkg-config to pkgconf Loading Loading
pkgs/by-name/sd/SDL_compat/package.nix +17 −3 Original line number Diff line number Diff line Loading @@ -59,12 +59,26 @@ stdenv.mkDerivation (finalAttrs: { dontPatchELF = true; # don't strip rpath cmakeFlags = [ (lib.cmakeFeature "CMAKE_INSTALL_RPATH" (lib.makeLibraryPath [ sdl2-compat ])) cmakeFlags = let rpath = lib.makeLibraryPath [ sdl2-compat ]; in [ (lib.cmakeFeature "CMAKE_INSTALL_RPATH" rpath) (lib.cmakeFeature "CMAKE_BUILD_RPATH" rpath) (lib.cmakeBool "SDL12TESTS" finalAttrs.finalPackage.doCheck) ]; enableParallelBuilding = true; # Darwin fails with "Critical error: required built-in appearance SystemAppearance not found" doCheck = !stdenv.hostPlatform.isDarwin; checkPhase = '' runHook preCheck ./testver runHook postCheck ''; postInstall = '' # allow as a drop in replacement for SDL # Can be removed after treewide switch from pkg-config to pkgconf Loading