mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
cudaPackages: fix an annoying warning caused by alias
(cherry picked from commit ae5074ef87
)
This commit is contained in:
parent
7bddba3dd2
commit
876857f17d
@ -53,6 +53,10 @@ let
|
||||
redistribRelease = redistribManifest.${pname};
|
||||
featureRelease = featureManifest.${pname};
|
||||
drv =
|
||||
let
|
||||
# get `autoAddDriverRunpath` from pkgs instead of cudaPackages' alias to avoid warning
|
||||
inherit (callPackage ({ pkgs }: pkgs) { }) autoAddDriverRunpath;
|
||||
in
|
||||
(callPackage ../generic-builders/manifest.nix {
|
||||
# We pass the whole release to the builder because it has logic to handle
|
||||
# the case we're trying to build on an unsupported platform.
|
||||
@ -61,6 +65,7 @@ let
|
||||
redistName
|
||||
redistribRelease
|
||||
featureRelease
|
||||
autoAddDriverRunpath
|
||||
;
|
||||
}).overrideAttrs
|
||||
(prevAttrs: {
|
||||
|
Loading…
Reference in New Issue
Block a user