2024-09-19 14:19:46 +00:00
|
|
|
# Packages which have been deprecated or removed from cudaPackages
|
2024-04-21 15:54:59 +00:00
|
|
|
final: prev:
|
|
|
|
let
|
2024-09-19 14:19:46 +00:00
|
|
|
inherit (prev.lib) warn;
|
|
|
|
inherit (builtins) mapAttrs;
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
mkRenamed =
|
2024-09-19 14:19:46 +00:00
|
|
|
oldName:
|
|
|
|
{ path, package }:
|
|
|
|
warn "cudaPackages.${oldName} is deprecated, use ${path} instead" package;
|
2024-04-21 15:54:59 +00:00
|
|
|
in
|
2024-09-19 14:19:46 +00:00
|
|
|
mapAttrs mkRenamed {
|
|
|
|
# A comment to prevent empty { } from collapsing into a single line
|
2024-04-21 15:54:59 +00:00
|
|
|
}
|