diff options
-rw-r--r-- | pkgs/test/cuda/cuda-samples/generic.nix | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/pkgs/test/cuda/cuda-samples/generic.nix b/pkgs/test/cuda/cuda-samples/generic.nix index ed839da54da38..e57be1723436e 100644 --- a/pkgs/test/cuda/cuda-samples/generic.nix +++ b/pkgs/test/cuda/cuda-samples/generic.nix @@ -2,7 +2,7 @@ , cudaPackages , fetchFromGitHub , fetchpatch -, addOpenGLRunpath +, autoAddOpenGLRunpathHook , cudatoolkit , pkg-config , sha256 @@ -20,7 +20,7 @@ cudaPackages.backendStdenv.mkDerivation (finalAttrs: { inherit sha256; }; - nativeBuildInputs = [ pkg-config addOpenGLRunpath glfw3 freeimage ]; + nativeBuildInputs = [ pkg-config autoAddOpenGLRunpathHook glfw3 freeimage ]; buildInputs = [ cudatoolkit ]; @@ -46,12 +46,6 @@ cudaPackages.backendStdenv.mkDerivation (finalAttrs: { runHook postInstall ''; - postFixup = '' - for exe in $out/bin/*; do - addOpenGLRunpath $exe - done - ''; - meta = { description = "Samples for CUDA Developers which demonstrates features in CUDA Toolkit"; # CUDA itself is proprietary, but these sample apps are not. |