Skip to content

Commit 498ac10

Browse files
authored
openusd: propagate dependencies OpenGL (#414827)
2 parents 79f6295 + 044563c commit 498ac10

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

pkgs/development/python-modules/openusd/default.nix

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ buildPythonPackage rec {
7272
url = "https://github.com/PixarAnimationStudios/OpenUSD/commit/9ea3bc1ab550ec46c426dab04292d9667ccd2518.patch?full_index=1";
7373
hash = "sha256-QjA3kjUDsSleUr+S/bQLb+QK723SNFvnmRPT+ojjgq8=";
7474
})
75+
(fetchpatch {
76+
# https://github.com/PixarAnimationStudios/OpenUSD/pull/3648
77+
name = "propagate-dependencies-opengl.patch";
78+
url = "https://gitlab.archlinux.org/archlinux/packaging/packages/usd/-/raw/41469f20113d3550c5b42e67d1139dedc1062b8c/usd-find-dependency-OpenGL.patch?full_index=1";
79+
hash = "sha256-aUWGKn365qov0ttGOq5GgNxYGIGZ4DfmeMJfakbOugQ=";
80+
})
7581
];
7682

7783
env.OSL_LOCATION = "${osl}";
@@ -125,7 +131,6 @@ buildPythonPackage rec {
125131
tbb
126132
]
127133
++ lib.optionals stdenv.hostPlatform.isLinux [
128-
libGL
129134
libX11
130135
libXt
131136
]
@@ -142,6 +147,9 @@ buildPythonPackage rec {
142147
pyopengl
143148
distutils
144149
]
150+
++ lib.optionals stdenv.hostPlatform.isLinux [
151+
libGL
152+
]
145153
++ lib.optionals (withTools || withUsdView) [
146154
pyside-tools-uic
147155
pyside6

0 commit comments

Comments
 (0)