From 5da4fa1dd6835e8d8c7dc398c5728b330dde415e Mon Sep 17 00:00:00 2001 From: Audrey Dutcher Date: Mon, 9 Sep 2024 19:40:47 -0700 Subject: [PATCH] stdenv/freebsd: don't inherit curl from previous stage This was adding dependencies on the bootstrap files for longer than necessary. --- pkgs/stdenv/freebsd/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/stdenv/freebsd/default.nix b/pkgs/stdenv/freebsd/default.nix index 08768e0b9131f..667905f264b0d 100644 --- a/pkgs/stdenv/freebsd/default.nix +++ b/pkgs/stdenv/freebsd/default.nix @@ -485,7 +485,6 @@ in # 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 @@ -511,7 +510,6 @@ in name = "freebsd"; overrides = prevStage: self: super: { __bootstrapArchive = bootstrapArchive; - curl = prevStage.curlReal; fetchurl = prevStage.fetchurlReal; freebsd = super.freebsd.overrideScope ( self': super': { localesPrev = prevStage.freebsd.localesReal; }