From 9754f5e62e2f9f990f3564f48918e0f2989f7976 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Thu, 11 Dec 2025 10:11:37 +0100 Subject: [PATCH] util-linux: add in-tree comments for patches Adds in-tree comments for all patches, to better comply with the style guide. --- pkgs/by-name/ut/util-linux/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/ut/util-linux/package.nix b/pkgs/by-name/ut/util-linux/package.nix index 6b5a028ca029..b71a6d6bfb03 100644 --- a/pkgs/by-name/ut/util-linux/package.nix +++ b/pkgs/by-name/ut/util-linux/package.nix @@ -48,7 +48,12 @@ stdenv.mkDerivation (finalAttrs: { }; patches = [ + # Search $PATH for the shutdown binary instead of hard-coding /sbin/shutdown, + # which isn't valid on NixOS (and a compatibility link on most other modern + # distros anyway). ./rtcwake-search-PATH-for-shutdown.patch + # bits: only build when cpu_set_t is available + # Otherwise, the build fails on macOS (fetchurl { name = "bits-only-build-when-cpu_set_t-is-available.patch"; url = "https://lore.kernel.org/util-linux/20250501075806.88759-1-hi@alyssa.is/raw";