util-linux: add in-tree comments for patches (#469844)

This commit is contained in:
numinit
2025-12-12 16:58:24 +00:00
committed by GitHub
+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";