Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netbsd: take fetchcvs from buildPackages to fix eval
For some reason fetchcvs was taken from the cross package set when cross compiling netbsd.* instead of from buildPackages. I suspect that this was no issue previously because it just could be substituted as it only ever produced fixed output derivations. However since 00a2084 the evaluation of fetchcvs would depend on `stdenv.cc` (via its openssh dependency). Since netbsd.libc is required to evaluate stdenv.cc this caused a infinite recursion when staging the cross stdenv for pkgsCross.amd64-netbsd. The fix for this is pretty easy: Just take fetchcvs from buildPackages explicitly instead of hoping for mkDerivation to get it right. Resolves NixOS#119323.
- Loading branch information