stdenv/freebsd: don't inherit curl from previous stage (#340913)

Changed files
-2
pkgs
stdenv
freebsd
-2
pkgs/stdenv/freebsd/default.nix
···
# we can import the foundational libs from boot-0
# we can import bins and libs that DON'T get imported OR LINKED into the final stdenv from boot-0
curl = prevStage.curlReal;
-
curlReal = super.curl;
inherit (prevStage)
fetchurl
python3
···
name = "freebsd";
overrides = prevStage: self: super: {
__bootstrapArchive = bootstrapArchive;
-
curl = prevStage.curlReal;
fetchurl = prevStage.fetchurlReal;
freebsd = super.freebsd.overrideScope (
self': super': { localesPrev = prevStage.freebsd.localesReal; }