Merge pull request #300321 from jonringer/deprecate-cuda-autoAddDriver
cudaPackages.autoAddX: Deprecate
This commit is contained in:
commit
546930ab97
|
@ -176,6 +176,10 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m
|
|||
- `programs.nix-ld.libraries` no longer sets `baseLibraries` via the option's default but in config and now merges any additional libraries with the default ones.
|
||||
This means that `lib.mkForce` must be used to clear the list of default libraries.
|
||||
|
||||
- `cudaPackages.autoAddOpenGLRunpathHook` and `cudaPackages.autoAddDriverRunpath` have been deprecated for `pkgs.autoAddDriverRunpath`. Functionality has not changed, but the setuphook has been renamed and moved to the top-level package scope.
|
||||
|
||||
- `cudaPackages.autoFixElfFiles` has been deprecated for `pkgs.autoFixElfFiles`. Functionality has not changed, but the setuphook has been renamed and moved to the top-level package scope.
|
||||
|
||||
- `pdns` was updated to version [v4.9.x](https://doc.powerdns.com/authoritative/changelog/4.9.html), which introduces breaking changes. Check out the [Upgrade Notes](https://doc.powerdns.com/authoritative/upgrading.html#to-4-9-0) for details.
|
||||
|
||||
- `unrar` was updated to v7. See [changelog](https://www.rarlab.com/unrar7notes.htm) for more information.
|
||||
|
|
|
@ -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