mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-18 01:54:34 +00:00
openvr: add Darwin dependencies
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
3e09faf615
commit
6b17182f0b
@ -5,6 +5,8 @@
|
||||
, jsoncpp
|
||||
, fetchFromGitHub
|
||||
, fetchpatch2
|
||||
, Foundation
|
||||
, AppKit
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -41,7 +43,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ jsoncpp libGL ];
|
||||
buildInputs = [ jsoncpp libGL ] ++ lib.optionals stdenv.isDarwin [ Foundation AppKit ];
|
||||
|
||||
cmakeFlags = [ "-DUSE_SYSTEM_JSONCPP=ON" "-DBUILD_SHARED=1" ];
|
||||
|
||||
|
@ -23163,7 +23163,9 @@ with pkgs;
|
||||
|
||||
openvdb = callPackage ../development/libraries/openvdb { };
|
||||
|
||||
openvr = callPackage ../development/libraries/openvr { };
|
||||
openvr = callPackage ../development/libraries/openvr {
|
||||
inherit (darwin.apple_sdk.frameworks) Foundation AppKit;
|
||||
};
|
||||
|
||||
inherit (callPackages ../development/libraries/libressl { })
|
||||
libressl_3_4
|
||||
|
Loading…
Reference in New Issue
Block a user