connor (burnt/out) (UTC-8) | I’ve got a long day ahead of me, but SomeoneSerge (back on matrix)to follow back up on earlier, in https://github.com/NixOS/nixpkgs/pull/437723 I made changes to config to allow NVIDIA’s licenses when cudaSupport is true. That means users can build CUDA packages without using the impure flag and providing a custom config with allowUnfree, allowUnfreePredicate, or allowlistedLicenses, just by building off of pkgsCuda or pkgsForCudaArch. I think that’s important for the UX. Also, since we don’t need the impure flag we can benefit from evaluation caching.
Like all Nixpkgs “variants” (the term I’ve seen used to describe different instantiations of Nixpkgs within Nixpkgs, like pkgsLLVM), there is an evaluation cost to using those attributes, but it beats repeatedly editing a config.nix file.
Of course, for out-of-tree consumers (like user flakes) configuring Nixpkgs exactly once when it is imported is preferred, but not everyone can or wants to do that. | 16:13:20 |