From 05550b12561eb2654b861eea51f28aed7a5c6418 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Fri, 16 Jan 2026 12:56:59 +0100 Subject: [PATCH] attr: add inline patch comments To better match the style guide, copy the patch message as a comment in the nix file. --- pkgs/development/libraries/attr/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/attr/default.nix b/pkgs/development/libraries/attr/default.nix index 046d19925b44..ea471f1e3413 100644 --- a/pkgs/development/libraries/attr/default.nix +++ b/pkgs/development/libraries/attr/default.nix @@ -29,6 +29,9 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ gettext ]; + # tools/attr.c: Add missing libgen.h include for basename(3) + # Fixes compilation issue with musl and modern C99 compilers. + # See: https://bugs.gentoo.org/926294 patches = [ ./musl.patch ]; postPatch = ''