| 23 May 2024 |
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 |
SomeoneSerge (matrix works sometimes) | I don't it should be evaluated | 23:07:04 |
hexa | this is on release-24.05 fwiw | 23:07:06 |
| 24 May 2024 |
aidalgol | SomeoneSerge (UTC+3): I didn't quite understand your "deploy this impurely" comment on the libXNVCtrl patch. | 18:53:47 |
aidalgol | * SomeoneSerge (UTC+3): I didn't quite understand your "deploy this impurely" comment on the libXNVCtrl PR. | 18:53:49 |
SomeoneSerge (matrix works sometimes) | In reply to @aidalgol:matrix.org SomeoneSerge (UTC+3): I didn't quite understand your "deploy this impurely" comment on the libXNVCtrl PR. /run/opengl-driver instead of rpath | 18:56:55 |
aidalgol | Ah, right. I'm not certain whether it needs to match the driver version or not. | 18:57:58 |
SomeoneSerge (matrix works sometimes) | In reply to @aidalgol:matrix.org Ah, right. I'm not certain whether it needs to match the driver version or not. Same. I suggest that we test | 19:00:03 |
connor (he/him) | Okay, my absolute favorite new functionality in the PR I've been working on is being able to do this:
nix build --impure -L .#cudaPackages_11_8.pkgs.xgboost
and build xgboost with cudaPackages_11_8.
| 20:56:50 |
connor (he/him) | It makes it so much easier to see if something is broken because of the CUDA version | 20:57:06 |
connor (he/him) | Relevant change https://github.com/NixOS/nixpkgs/pull/306172/commits/98906659f42a774afc6d43bfae795cf9bbf4768b | 21:06:17 |
SomeoneSerge (matrix works sometimes) | In reply to @connorbaker:matrix.org
Okay, my absolute favorite new functionality in the PR I've been working on is being able to do this:
nix build --impure -L .#cudaPackages_11_8.pkgs.xgboost
and build xgboost with cudaPackages_11_8.
This looks nice but also looks like a way to shoot yourself in the foot and/or cause infinite recursion | 21:06:22 |