cudaPackages.autoAdd{Driver,OpengGL}Runpath: deprecate
This commit is contained in:
parent
6347cd23dc
commit
52eb8850b8
|
@ -1,4 +1,18 @@
|
|||
# Packges which have been deprecated or removed from cudaPackages
|
||||
final: prev: {
|
||||
final: prev:
|
||||
let
|
||||
mkRenamed =
|
||||
oldName: newName: newPkg:
|
||||
final.lib.warn "cudaPackages.${oldName} is deprecated, use ${newName} instead" newPkg;
|
||||
in
|
||||
{
|
||||
|
||||
# Deprecated: an alias kept for compatibility. Consider removing after 24.05
|
||||
autoFixElfFiles = mkRenamed "autoFixElfFiles" "pkgs.autoFixElfFiles" final.pkgs.autoFixElfFiles; # Added 2024-03-30
|
||||
autoAddDriverRunpath =
|
||||
mkRenamed "autoAddDriverRunpath" "pkgs.autoAddDriverRunpath"
|
||||
final.pkgs.autoAddDriverRunpath; # Added 2024-03-30
|
||||
autoAddOpenGLRunpathHook =
|
||||
mkRenamed "autoAddOpenGLRunpathHook" "pkgs.autoAddDriverRunpath"
|
||||
final.pkgs.autoAddDriverRunpath; # Added 2024-03-30
|
||||
}
|
||||
|
|
|
@ -1,11 +1,4 @@
|
|||
final: _: {
|
||||
# TODO:
|
||||
# - Move to cuda-modules/aliases.nix once
|
||||
# https://github.com/NixOS/nixpkgs/issues/141803 is ready.
|
||||
# - Consider removing after 24.11.
|
||||
inherit (final.pkgs) autoAddDriverRunpath autoFixElfFiles;
|
||||
autoAddOpenGLRunpathHook = final.autoAddDriverRunpath;
|
||||
|
||||
# Internal hook, used by cudatoolkit and cuda redist packages
|
||||
# to accommodate automatic CUDAToolkit_ROOT construction
|
||||
markForCudatoolkitRootHook = final.callPackage (
|
||||
|
|
Loading…
Reference in New Issue