Skip to content

Commit

Permalink
nix: fix regression: asking for deprecated autoAddOpenGLRunpath
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeoneSerge committed Aug 28, 2024
1 parent 66b039a commit 23d8f65
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .devops/nix/package.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
lib,
autoAddDriverRunpath,
glibc,
config,
stdenv,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 23d8f65

Please sign in to comment.