From 3104da40851eb23a52275fd082a8fab2147e2a94 Mon Sep 17 00:00:00 2001 From: Tobias Bergkvist Date: Fri, 10 Dec 2021 16:26:08 +0100 Subject: [PATCH] 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. --- pkgs/top-level/all-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a6d79f5cc134..a6f1f8f4d28c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -699,7 +699,7 @@ with pkgs; makeSetupHook { deps = [ dieHook ]; } script; in lib.makeOverridable f { - cc = stdenv.cc.cc; + cc = stdenv.cc; sanitizers = [ "undefined" "address" ]; };