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 , jsoncpp 6 , fetchFromGitHub 7 , fetchpatch2 8 }: 9 10 stdenv.mkDerivation rec { ··· 41 ''; 42 43 nativeBuildInputs = [ cmake ]; 44 - buildInputs = [ jsoncpp libGL ]; 45 46 cmakeFlags = [ "-DUSE_SYSTEM_JSONCPP=ON" "-DBUILD_SHARED=1" ]; 47 48 - meta = with lib;{ 49 homepage = "https://github.com/ValveSoftware/openvr"; 50 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 license = licenses.bsd3;
··· 5 , jsoncpp 6 , fetchFromGitHub 7 , fetchpatch2 8 + , Foundation 9 + , AppKit 10 }: 11 12 stdenv.mkDerivation rec { ··· 43 ''; 44 45 nativeBuildInputs = [ cmake ]; 46 + buildInputs = [ jsoncpp libGL ] ++ lib.optionals stdenv.isDarwin [ Foundation AppKit ]; 47 48 cmakeFlags = [ "-DUSE_SYSTEM_JSONCPP=ON" "-DBUILD_SHARED=1" ]; 49 50 + meta = with lib; { 51 + broken = stdenv.isDarwin; 52 homepage = "https://github.com/ValveSoftware/openvr"; 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"; 54 license = licenses.bsd3;
+3 -1
pkgs/top-level/all-packages.nix
··· 23221 23222 openvdb = callPackage ../development/libraries/openvdb { }; 23223 23224 - openvr = callPackage ../development/libraries/openvr { }; 23225 23226 inherit (callPackages ../development/libraries/libressl { }) 23227 libressl_3_4
··· 23221 23222 openvdb = callPackage ../development/libraries/openvdb { }; 23223 23224 + openvr = callPackage ../development/libraries/openvr { 23225 + inherit (darwin.apple_sdk.frameworks) Foundation AppKit; 23226 + }; 23227 23228 inherit (callPackages ../development/libraries/libressl { }) 23229 libressl_3_4