Unfortunately overrideAttrs does not work for nix today (due to nix not being a single source package). nix.package = pkgs.nix.appendPatches is a new way to apply patches: https://github.com/NixOS/nixpkgs/pull/375856#issuecomment-2666009897
2 Likes
No. The tarball is a flake. When using flakes to build your NixOS config, NixOS configures the registry entry for nixpkgs appropriately.
Rather than making assumptions, I suggest you try it.