stdenv/freebsd/cc: make overrideable fixing nixpkgs eval

stdenv.cc didn't have an override attribute on FreeBSD previously,
breaking evaluation of all-packages.nix consequently.

Resolves #119075.
This commit is contained in:
sternenseemann 2021-04-10 21:25:46 +02:00 committed by sterni
parent 9767460d00
commit 62ec3db017

View File

@ -238,7 +238,7 @@ in
buildPlatform hostPlatform targetPlatform
initialPath shell fetchurlBoot;
cc = import ../../build-support/cc-wrapper {
cc = lib.makeOverridable (import ../../build-support/cc-wrapper) {
inherit lib;
nativeTools = true;
nativePrefix = "/usr";