guix_mirror_bot pushed a commit to branch master
in repository guix.
commit ec6b5d0f767e30f36a1fff38fe76170eed7e481b
Author: Sughosha <[email protected]>
AuthorDate: Sun Aug 24 05:49:31 2025 +0530
gnu: Add wine-for-system.
* gnu/packages/wine.scm (wine-for-system): New procedure.
Change-Id: I4e1d0afe30f79710c6d61fce3b072ddfb122c7b2
---
gnu/packages/wine.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/wine.scm b/gnu/packages/wine.scm
index e9f9311db7..9859bb0afb 100644
--- a/gnu/packages/wine.scm
+++ b/gnu/packages/wine.scm
@@ -435,3 +435,10 @@ integrated into the main branch.")
(synopsis "Implementation of the Windows API (staging branch, WoW64
version)")
(supported-systems '("x86_64-linux" "aarch64-linux"))))
+
+(define* (wine-for-system #:optional
+ (system (or (%current-target-system)
+ (%current-system))))
+ (if (supported-package? wine64) wine64 wine))
+
+(export wine-for-system)