Skip to content

Commit

Permalink
fix: autoAddOpenGLRunpathHook -> autoAddDriverRunpath
Browse files Browse the repository at this point in the history
  • Loading branch information
DavHau committed Sep 26, 2024
1 parent c838c10 commit d028f68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions overrides/python/torch/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
# stripping doesn't reduce the file size much, and it takes a long time
mkDerivation.dontStrip = true;

# use the autoAddOpenGLRunpathHook to add /run/opengl-driver/lib to the RPATH
# use the autoAddDriverRunpath to add /run/opengl-driver/lib to the RPATH
# of all ELF files
deps = {nixpkgs, ...}: {
inherit (nixpkgs.cudaPackages) autoAddOpenGLRunpathHook;
inherit (nixpkgs) autoAddDriverRunpath;
};
mkDerivation.nativeBuildInputs = [
config.deps.autoAddOpenGLRunpathHook
config.deps.autoAddDriverRunpath
];

# this file is patched manually, so ignore it in autoPatchelf
Expand Down

0 comments on commit d028f68

Please sign in to comment.