mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
cudnn: Fix referring to deprecated alias.
Similar to commit
ae5074ef
cudaPackages: fix an annoying warning caused by alias
Can be verified with:
NIX_ABORT_ON_WARN=true NIXPKGS_ALLOW_UNFREE=1 NIX_PATH=nixpkgs=. nix-instantiate -A cudaPackages.cudnn
This commit is contained in:
parent
c3d4ac7251
commit
98f654ed61
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user