~ruther/guix-local

ec6b5d0f767e30f36a1fff38fe76170eed7e481b — Sughosha 11 months ago 24ede16
gnu: Add wine-for-system.

* gnu/packages/wine.scm (wine-for-system): New procedure.

Change-Id: I4e1d0afe30f79710c6d61fce3b072ddfb122c7b2
1 files changed, 7 insertions(+), 0 deletions(-)

M gnu/packages/wine.scm
M gnu/packages/wine.scm => gnu/packages/wine.scm +7 -0
@@ 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)