mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
15 lines
368 B
Nix
15 lines
368 B
Nix
# Packages which have been deprecated or removed from cudaPackages
|
|
final: prev:
|
|
let
|
|
inherit (prev.lib) warn;
|
|
inherit (builtins) mapAttrs;
|
|
|
|
mkRenamed =
|
|
oldName:
|
|
{ path, package }:
|
|
warn "cudaPackages.${oldName} is deprecated, use ${path} instead" package;
|
|
in
|
|
mapAttrs mkRenamed {
|
|
# A comment to prevent empty { } from collapsing into a single line
|
|
}
|