Skip to content

Commit

Permalink
Merge pull request #35 from lilymonad/fix-driver-directory-param
Browse files Browse the repository at this point in the history
Properly use dso_vendor_paths
  • Loading branch information
picnoir authored Nov 21, 2024
2 parents e43e0bf + 5166906 commit 5269b23
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/nixglhost.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,6 @@ def nvidia_main(
cache_file_path = os.path.join(cache_dir, "cache.json")
lock_path = os.path.join(os.path.split(cache_dir)[0], "nix-gl-host.lock")
cached_ld_library_path = os.path.join(cache_dir, "ld_library_path")
paths = get_ld_paths()
egl_conf_dir = os.path.join(cache_dir, "egl-confs")
nix_gl_ld_library_path: Optional[str] = None
# Cache/Patch DSOs
Expand All @@ -566,7 +565,7 @@ def nvidia_main(
log_info("Acquiring the cache lock")
fcntl.flock(lock, fcntl.LOCK_EX)
log_info("Cache lock acquired")
for path in paths:
for path in dso_vendor_paths:
res = scan_dsos_from_dir(path)
if res:
cache_content.paths.append(res)
Expand Down

0 comments on commit 5269b23

Please sign in to comment.