Petition to build and cache unfree packages on cache.nixos.org

By the way, I believe the cudatoolkit derivation can also be reworked to make an accidental redistribution less likely:

  • Currently cudatoolkit puts .so and .a in the same output. We could move .a into a separate "static" output to secure that some pytorch doesn’t for whatever reason randomly choose to link a piece of cuda statically
  • There are preferLocalBuild = true and allowSubstitutes = false options that, I understand, could tell nix not to try to look for a built derivation in the remote cache.

(I’d open an issue in nixos/nixpkgs right away, but I haven’t done enough research)