Skip to content

Commit

Permalink
Continue the cleanup of addOpenGLRunpath
Browse files Browse the repository at this point in the history
This is a follow on to the patch
6d30a91
which uses the new package name and also the new module option names so
that it is aligned with mainline.

Signed-off-by: Brian McGillion <[email protected]>
  • Loading branch information
brianmcgillion committed Dec 19, 2024
1 parent bc47712 commit f3c691d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 4 additions & 3 deletions modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ in

hardware.deviceTree.enable = true;

hardware.opengl.package = pkgs.nvidia-jetpack.l4t-3d-core;
hardware.opengl.extraPackages =
hardware.graphics.package = pkgs.nvidia-jetpack.l4t-3d-core;
hardware.graphics.extraPackages =
with pkgs.nvidia-jetpack;
# l4t-core provides - among others - libnvrm_gpu.so and libnvrm_mem.so.
# The l4t-core/lib directory is directly set in the DT_RUNPATH of
Expand Down Expand Up @@ -364,6 +364,7 @@ in
};

# Used by libEGL_nvidia.so.0
environment.etc."egl/egl_external_platform.d".source = "${pkgs.addOpenGLRunpath.driverLink}/share/egl/egl_external_platform.d/";
environment.etc."egl/egl_external_platform.d".source =
"${pkgs.addDriverRunpath.driverLink}/share/egl/egl_external_platform.d/";
};
}
2 changes: 0 additions & 2 deletions pkgs/l4t/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
{ stdenv
, stdenvNoCC
, buildPackages
, addOpenGLRunpath
, lib
, fetchurl
, fetchpatch
, fetchgit
, autoPatchelfHook
, dpkg
, expat
Expand Down

0 comments on commit f3c691d

Please sign in to comment.