mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 02:55:39 +00:00
Merge pull request #316866 from NixOS/backport-316594-to-release-24.05
[Backport release-24.05] cudaPackages: fix cuda alias warning
This commit is contained in:
commit
35d01638bc
@ -13,6 +13,6 @@ in
|
||||
mkRenamed "autoAddDriverRunpath" "pkgs.autoAddDriverRunpath"
|
||||
final.pkgs.autoAddDriverRunpath; # Added 2024-03-30
|
||||
autoAddOpenGLRunpathHook =
|
||||
mkRenamed "autoAddOpenGLRunpathHook" "pkgs.autoAddDriverRunpath"
|
||||
mkRenamed "autoAddOpenGLRunpathHook" "pkgs.autoAddDriverRunpathHook"
|
||||
final.pkgs.autoAddDriverRunpath; # Added 2024-03-30
|
||||
}
|
||||
|
@ -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