nix: fix regression: asking for deprecated autoAddOpenGLRunpath

This commit is contained in:
Someone Serge 2024-08-28 11:29:28 +00:00
parent 66b039a501
commit 23d8f65ac0
No known key found for this signature in database
GPG key ID: 7B0E3B1390D61DA4

View file

@ -1,5 +1,6 @@
{ {
lib, lib,
autoAddDriverRunpath,
glibc, glibc,
config, config,
stdenv, stdenv,
@ -192,10 +193,7 @@ effectiveStdenv.mkDerivation (
] ]
++ optionals useCuda [ ++ optionals useCuda [
cudaPackages.cuda_nvcc cudaPackages.cuda_nvcc
autoAddDriverRunpath
# TODO: Replace with autoAddDriverRunpath
# once https://github.com/NixOS/nixpkgs/pull/275241 has been merged
cudaPackages.autoAddOpenGLRunpathHook
] ]
++ optionals (effectiveStdenv.hostPlatform.isGnu && enableStatic) [ ++ optionals (effectiveStdenv.hostPlatform.isGnu && enableStatic) [
glibc.static glibc.static