forked from mirrors/nixpkgs
c60144d4c0
This is very confusing. “stdenv” is created from the parent stage so pkgsTargetTarget.stdenv.cc is a compiler that runs /on/ host platform and creates binaries for target platform. gfortran on the other hand is not special cased like stdenv, so the equivalent to pkgsTargetTarget.stdenv.cc is pkgsHostTarget.gfortran. I’ve rewritten this to be a little less confusing, “pkgsHostTarget” is equivalent to “pkgs” so it is unneeded. All that is left is “pkgsTargetTarget.stdenv” which is equivalent to “targetPackages.stdenv”. Fixes #88951 /cc @markuskowa @ericson2314 |
||
---|---|---|
.. | ||
default.nix |