Skip to content

Commit

Permalink
opensubdiv: fix improper prefix usage
Browse files Browse the repository at this point in the history
  • Loading branch information
chayleaf committed Aug 12, 2023
1 parent 0e4c24d commit 34ccd34
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkgs/development/libraries/opensubdiv/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{ config, lib, stdenv, fetchFromGitHub, cmake, pkg-config, xorg, libGLU
{ config, lib, stdenv, fetchFromGitHub, fetchpatch
, cmake, pkg-config, xorg, libGLU
, libGL, glew, ocl-icd, python3
, cudaSupport ? config.cudaSupport, cudatoolkit
# For visibility mostly. The whole approach to cuda architectures and capabilities
Expand All @@ -19,6 +20,13 @@ stdenv.mkDerivation rec {
sha256 = "sha256-pYD2HxAszE9Ux1xsSJ7s2R13U8ct5tDo3ZP7H0+F9Rc=";
};

patches = [
(fetchpatch {
url = "https://github.com/PixarAnimationStudios/OpenSubdiv/pull/1315/commits/19b2bac39aa075fe231259e519d13aed6ee373bf.patch";
hash = "sha256-euNPhYi8JA0OxEveTb0fou5VO/Guz9WeIMO3AZ6pNvE=";
})
];

outputs = [ "out" "dev" ];

nativeBuildInputs = [ cmake pkg-config ];
Expand Down

0 comments on commit 34ccd34

Please sign in to comment.