!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

292 Members
CUDA packages maintenance and support in nixpkgs | https://github.com/orgs/NixOS/projects/27/ | https://nixos.org/manual/nixpkgs/unstable/#cuda57 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
7 Nov 2025
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)so glad I spent several weeks writing a bunch of bash array utility functions months ago09:40:03
@daniel-fahey:matrix.orgDaniel Faheyhave you heard of python?09:40:40
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)was able to re-use stuff from https://github.com/connorbaker/cuda-packages and https://github.com/ConnorBaker/nixpkgs/tree/feat/arrayUtilities-remaining to make https://github.com/NixOS/nixpkgs/pull/45941609:41:10
@daniel-fahey:matrix.orgDaniel Fahey😜09:41:28
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)using python meaningfully for setup hooks is something I want to push further with the stdenv team but... there's a great deal of different ideas in terms of what that would look like09:43:05
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8) some want to move away from shell (or to a different shell) for setup hooks, others want to enable more radical changes like the ability to use python for setup hooks or even to replace some or all of setup.sh 09:44:29
@daniel-fahey:matrix.orgDaniel FaheyI wrote this recently https://github.com/NixOS/nixpkgs/pull/448828/files#diff-e82c6e9710143cae7452bab94f76c5adedbfc093ca951aa0a0f634d661ef583309:44:46
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)there's been a big effort to get python3Minimal usable within the bootstrap iirc09:44:52
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)okay I need to sleep09:46:52
@daniel-fahey:matrix.orgDaniel Faheygn gg09:47:35
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8) SomeoneSerge (back on matrix) Gaétan Lepage this is kind of what I mentioned in the weekly meeting about needing to remove the stubs from the runpath; it doesn't do everything but it's a start. For example, this should unbreak packages which link against stubs and don't use autoAddDriverRunpath --in that case the runpath wouldn't be prefixed by /run/opengl-driver/lib so the stubs would be discovered and loaded and runtime would fail. 09:48:48
@glepage:matrix.orgGaétan LepageOk neat!09:53:37
@daniel-fahey:matrix.orgDaniel FaheyReally, really high quality bash, fan of Wooledge I presume? And the integration with the Nix for the testing 👨‍🍳 😘, thanks for exposing me to this. I did a lot of bash in my old job inside Makefiles, looking at this has made me remember how much I love bash. Sorry for my tongue in cheek Python remark.11:01:25
@ss:someonex.netSomeoneSerge (back on matrix)This sounds like bootstrap hell?13:22:29
@ss:someonex.netSomeoneSerge (back on matrix)

Gonna read, but what I wanted to ask when you were leaving was that we had already introduced some complex bash logic for ensuring the order of hooks, which was meant to ensure that adddriversrunpath and addcudacompat take priority over stubs, which must have clearly regressed if you found cleaning runpaths necessary, so why not fix that instead?

Licensing issues aside, I'd rather have stubs with customized messages linked...

13:28:03
@ss:someonex.netSomeoneSerge (back on matrix) * 13:34:14

Show newer messages


Back to Room ListRoom Version: 9