diff --git a/pkgs/development/cuda-modules/generic-builders/multiplex.nix b/pkgs/development/cuda-modules/generic-builders/multiplex.nix index ce50653bb5d4..ef6b11ffb5b6 100644 --- a/pkgs/development/cuda-modules/generic-builders/multiplex.nix +++ b/pkgs/development/cuda-modules/generic-builders/multiplex.nix @@ -127,6 +127,8 @@ let inherit pname; redistName = pname; inherit (shims) redistribRelease featureRelease; + # get `autoAddDriverRunpath` from pkgs instead of cudaPackages' alias to avoid warning + inherit (final.callPackage ({ pkgs }: pkgs) { }) autoAddDriverRunpath; }; fixedDrv = drv.overrideAttrs (overrideAttrsFixupFn final package); in