mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
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 |