| 23 May 2024 |
Gaétan Lepage | In reply to @hexa:lossy.network
trace: warning: cudaPackages.autoAddDriverRunpath is deprecated, use pkgs.autoAddDriverRunpath instead
trace: warning: cudaPackages.autoAddDriverRunpath is deprecated, use pkgs.autoAddDriverRunpath instead
trace: warning: cudaPackages.autoFixElfFiles is deprecated, use pkgs.autoFixElfFiles instead
trace: warning: cudaPackages.autoAddOpenGLRunpathHook is deprecated, use pkgs.autoAddDriverRunpath instead
trace: warning: cudaPackages.autoAddDriverRunpath is deprecated, use pkgs.autoAddDriverRunpath instead
I also have those | 22:07:01 |
hexa | So what is the overlap between our configs? | 22:07:47 |
Gaétan Lepage | I basically have the same config as you have hexa (UTC+1) | 22:18:24 |
Gaétan Lepage | I guess that the origins of those warnings are internal to nixpkgs. | 22:18:40 |
hexa | ok, it is nothing in this file 😄 | 22:41:19 |
hexa | killing nixpkgs.config.cudaSupport gets rid of the trace | 22:41:59 |
hexa | ok, this one is sus | 23:03:45 |
hexa |
trace: warning: cudaPackages.autoAddOpenGLRunpathHook is deprecated, use pkgs.autoAddDriverRunpath instead
| 23:03:51 |
hexa | Already up to date.
❯ rg autoAddOpenGLRunpathHook
nixos/doc/manual/release-notes/rl-2405.section.md
248:- `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.
pkgs/development/cuda-modules/aliases.nix
15: autoAddOpenGLRunpathHook =
16: mkRenamed "autoAddOpenGLRunpathHook" "pkgs.autoAddDriverRunpath"
| 23:04:40 |
hexa | * ❯ rg autoAddOpenGLRunpathHook
nixos/doc/manual/release-notes/rl-2405.section.md
248:- `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.
pkgs/development/cuda-modules/aliases.nix
15: autoAddOpenGLRunpathHook =
16: mkRenamed "autoAddOpenGLRunpathHook" "pkgs.autoAddDriverRunpath"
| 23:04:44 |
hexa | the only two mentions | 23:04:49 |
hexa | let's rule out the release notes for a second 😄 | 23:04:55 |
hexa | that makes the definition the only place???? | 23:05:05 |
hexa | nix is supposed be lazy, so how does it get evaluated when nobody consumes it? | 23:05:54 |
SomeoneSerge (matrix works sometimes) | In reply to @hexa:lossy.network
trace: warning: cudaPackages.autoAddDriverRunpath is deprecated, use pkgs.autoAddDriverRunpath instead
trace: warning: cudaPackages.autoAddDriverRunpath is deprecated, use pkgs.autoAddDriverRunpath instead
trace: warning: cudaPackages.autoFixElfFiles is deprecated, use pkgs.autoFixElfFiles instead
trace: warning: cudaPackages.autoAddOpenGLRunpathHook is deprecated, use pkgs.autoAddDriverRunpath instead
trace: warning: cudaPackages.autoAddDriverRunpath is deprecated, use pkgs.autoAddDriverRunpath instead
There was an autoAddDriverRunpath in cudaPackages, and then there was a @jonringer's PR introducing aliases.nix for cudaPackages, we moved autoAddDriverRunpath to the top-level and added an alias in cudaPackages | 23:06:46 |