guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 4177c320f9056820e61937f4f2c43a95302a0153
Author: Alvin Hsu <[email protected]>
AuthorDate: Mon Oct 13 20:43:10 2025 -0400
gnu: udisks: Patch mkswap.
* gnu/packages/freedesktop.scm (udisks):
[arguments]<#:phases>{patch-commands}: Patch mkswap command.
Change-Id: I3c629067d1e53177e9069b500202b8681cb44269
Signed-off-by: Maxim Cournoyer <[email protected]>
Reviewed-by: Liliana Marie Prikler <[email protected]>
Reviewed-by: Noé Lopez <[email protected]>
Modified-by: Maxim Cournoyer <[email protected]>
---
gnu/packages/freedesktop.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 0b1832c953..497dd076e2 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -36,7 +36,7 @@
;;; Copyright © 2023 Bruno Victal <[email protected]>
;;; Copyright © 2024-2025 Zheng Junjie <[email protected]>
;;; Copyright © 2022 Samuel Culpepper <[email protected]>
-;;; Copyright © 2024 aurtzy <[email protected]>
+;;; Copyright © 2024-2025 Alvin Hsu <[email protected]>
;;; Copyright © 2024 Dariqq <[email protected]>
;;; Copyright © 2024 Wilko Meyer <[email protected]>
;;; Copyright © 2024 dan <[email protected]>
@@ -1817,6 +1817,10 @@ Analysis and Reporting Technology) functionality.")
(("\"eject %s\"")
(format #f "\"~a %s\""
(search-input-file inputs "bin/eject"))))
+ (substitute* "src/udiskslinuxmanager.c"
+ (("\"mkswap\"")
+ (format #f "~s"
+ (search-input-file inputs "sbin/mkswap"))))
(substitute* "src/udisksstate.c"
(("\"umount -l %s\"")
(format #f "\"~a -l %s\""