mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-11-22 06:32:21 +03:00
fix: autoAddOpenGLRunpathHook -> autoAddDriverRunpath
This commit is contained in:
parent
c838c1041f
commit
d028f68f41
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user