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