use overlays argument of <nixpkgs> instead of custom code
The custom code returns the overlay instead of all packages but we can sort-of fake it by filtering the resulting package set. The custom code doesn't add the new packages to pkgsBuildBuild and it doesn't create spliced packages for them so it won't work for cross compiling.
Please register or sign in to comment