File tree Expand file tree Collapse file tree 2 files changed +15
-8
lines changed
pkgs/development/cuda-modules Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 11# Packges which have been deprecated or removed from cudaPackages
2- final : prev : {
2+ final : prev :
3+ let
4+ mkRenamed =
5+ oldName : newName : newPkg :
6+ final . lib . warn "cudaPackages.${ oldName } is deprecated, use ${ newName } instead" newPkg ;
7+ in
8+ {
39
10+ # Deprecated: an alias kept for compatibility. Consider removing after 24.05
11+ autoFixElfFiles = mkRenamed "autoFixElfFiles" "pkgs.autoFixElfFiles" final . pkgs . autoFixElfFiles ; # Added 2024-03-30
12+ autoAddDriverRunpath =
13+ mkRenamed "autoAddDriverRunpath" "pkgs.autoAddDriverRunpath"
14+ final . pkgs . autoAddDriverRunpath ; # Added 2024-03-30
15+ autoAddOpenGLRunpathHook =
16+ mkRenamed "autoAddOpenGLRunpathHook" "pkgs.autoAddDriverRunpath"
17+ final . pkgs . autoAddDriverRunpath ; # Added 2024-03-30
418}
Original file line number Diff line number Diff line change 11final : _ : {
2- # TODO:
3- # - Move to cuda-modules/aliases.nix once
4- # https://github.com/NixOS/nixpkgs/issues/141803 is ready.
5- # - Consider removing after 24.11.
6- inherit ( final . pkgs ) autoAddDriverRunpath autoFixElfFiles ;
7- autoAddOpenGLRunpathHook = final . autoAddDriverRunpath ;
8-
92 # Internal hook, used by cudatoolkit and cuda redist packages
103 # to accommodate automatic CUDAToolkit_ROOT construction
114 markForCudatoolkitRootHook = final . callPackage (
You can’t perform that action at this time.
0 commit comments