| 14 Dec 2024 |
matthewcroughan | then it will depend on the importer.. but then I can't just have people nix run my attributes, they will have to write their own flake to consume, and specify the support in their own flake (which imo is not ideal) | 20:53:50 |
sielicki | nix run --impure should check the users ~/.config/nixpkgs file and do the right thing around nonFree and/or cudaSupport/rocmSupport. If you want to add separate imports of nixpkgs for your checks that's one thing but principally I think you should just expose a single package | 20:55:40 |
matthewcroughan | I'm not sure why I'd want a flake on GitHub that reads from the user's home directory at evaluation time. | 20:58:31 |
matthewcroughan | I'd just want packages.x86_64-linux.{nvidia-myapp,rocm-myapp} | 20:59:11 |
matthewcroughan | In theory, is there not a stub we could use to make it gpuSupport = true ? | 21:51:35 |