Merge pull request #230903 from Scrumplex/openvr-darwin

openvr: mark as broken on Darwin

authored by

Guillaume Girol and committed by
GitHub
84423955 d9a32fcd

+8 -3
+5 -2
pkgs/development/libraries/openvr/default.nix
··· 5 5 , jsoncpp 6 6 , fetchFromGitHub 7 7 , fetchpatch2 8 + , Foundation 9 + , AppKit 8 10 }: 9 11 10 12 stdenv.mkDerivation rec { ··· 41 43 ''; 42 44 43 45 nativeBuildInputs = [ cmake ]; 44 - buildInputs = [ jsoncpp libGL ]; 46 + buildInputs = [ jsoncpp libGL ] ++ lib.optionals stdenv.isDarwin [ Foundation AppKit ]; 45 47 46 48 cmakeFlags = [ "-DUSE_SYSTEM_JSONCPP=ON" "-DBUILD_SHARED=1" ]; 47 49 48 - meta = with lib;{ 50 + meta = with lib; { 51 + broken = stdenv.isDarwin; 49 52 homepage = "https://github.com/ValveSoftware/openvr"; 50 53 description = "An API and runtime that allows access to VR hardware from multiple vendors without requiring that applications have specific knowledge of the hardware they are targeting"; 51 54 license = licenses.bsd3;
+3 -1
pkgs/top-level/all-packages.nix
··· 23221 23221 23222 23222 openvdb = callPackage ../development/libraries/openvdb { }; 23223 23223 23224 - openvr = callPackage ../development/libraries/openvr { }; 23224 + openvr = callPackage ../development/libraries/openvr { 23225 + inherit (darwin.apple_sdk.frameworks) Foundation AppKit; 23226 + }; 23225 23227 23226 23228 inherit (callPackages ../development/libraries/libressl { }) 23227 23229 libressl_3_4