util-linux: add in-tree comments for patches

Adds in-tree comments for all patches, to better comply with the style
guide.
This commit is contained in:
Alexander Bantyev
2025-12-11 10:11:37 +01:00
parent 96ca3529c2
commit 9754f5e62e
+5
View File
@@ -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";