makeBinaryWrapper: Switch from stdenv.cc.cc to stdenv.cc

"${stdenv.cc.cc}/bin" does not contain a cc-symlink, since this is the unwrapped version of the compiler - however "${stdenv.cc}/bin" does.
This commit is contained in:
Tobias Bergkvist 2021-12-10 16:26:08 +01:00
parent 91ca3ab15f
commit 3104da4085

View file

@ -699,7 +699,7 @@ with pkgs;
makeSetupHook { deps = [ dieHook ]; } script;
in
lib.makeOverridable f {
cc = stdenv.cc.cc;
cc = stdenv.cc;
sanitizers = [ "undefined" "address" ];
};