From 7758a59808b86dbec2021d9c8e6b17fa93dd9213 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Wed, 28 May 2025 18:27:29 +0200 Subject: [PATCH] stdenv/darwin: Ignore version override warning I don't suppose we need to set `src`, the suggestion of the warning. This is presumably just to signify that it's not the final build (not *really*) a version. --- pkgs/stdenv/darwin/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/stdenv/darwin/default.nix b/pkgs/stdenv/darwin/default.nix index 00ce52edd947..49f0ff040a41 100644 --- a/pkgs/stdenv/darwin/default.nix +++ b/pkgs/stdenv/darwin/default.nix @@ -439,6 +439,7 @@ assert bootstrapTools.passthru.isFromBootstrapFiles or false; # sanity check (superDarwin.binutils-unwrapped.override { enableManpages = false; }).overrideAttrs (old: { version = "boot"; + __intentionallyOverridingVersion = true; # to avoid a warning suggesting to provide src passthru = (old.passthru or { }) // { isFromBootstrapFiles = true; };