nixpkgs/pkgs/development/cuda-modules/aliases.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
368 B
Nix
Raw Normal View History

2024-07-30 09:16:46 +02:00
# Packages which have been deprecated or removed from cudaPackages
final: prev:
let
2024-07-30 09:16:46 +02:00
inherit (prev.lib) warn;
inherit (builtins) mapAttrs;
mkRenamed =
2024-07-30 09:16:46 +02:00
oldName:
{ path, package }:
warn "cudaPackages.${oldName} is deprecated, use ${path} instead" package;
in
2024-07-30 09:16:46 +02:00
mapAttrs mkRenamed {
# A comment to prevent empty { } from collapsing into a single line
2024-03-19 17:35:08 +01:00
}