unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#69945] [PATCH] gnu: slock: Fix cross-compiling.
@ 2024-03-22 16:45 Zheng Junjie
  2024-03-27 13:00 ` Christopher Baines
  0 siblings, 1 reply; 2+ messages in thread
From: Zheng Junjie @ 2024-03-22 16:45 UTC (permalink / raw)
  To: 69945

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=y, Size: 1572 bytes --]

* gnu/packages/suckless.scm (slock)
[arguments]: Use Gexp.

Change-Id: I491c43a6ce2c3fc3aed43ecab9d4a2ab251038bb
---
 gnu/packages/suckless.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index 81e2151854..257d01b3f1 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -15,6 +15,7 @@
 ;;; Copyright © 2022 jgart <jgart@dismail.de>
 ;;; Copyright © 2022 Antero Mejr <antero@mailbox.org>
 ;;; Copyright © 2024 Clément Lassieur <clement@lassieur.org>
+;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -349,11 +350,11 @@ (define-public slock
                 "0k8fvf9g27yyaqpyhk6apbkq6r4vjwxhff1qb9ignxx2yvxy7qdf"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:tests? #f                      ; no tests
-       #:make-flags
-       (list (string-append "CC=" ,(cc-for-target))
-             (string-append "PREFIX=" %output))
-       #:phases (modify-phases %standard-phases (delete 'configure))))
+     (list #:tests? #f                      ; no tests
+           #:make-flags #~(list (string-append "CC=" #$(cc-for-target))
+                                (string-append "PREFIX=" #$output))
+           #:phases #~(modify-phases %standard-phases
+                        (delete 'configure))))
     (inputs
      (list libx11 libxext libxinerama libxrandr))
     (home-page "https://tools.suckless.org/slock/")

base-commit: 40f53e8fb5b867e3a1e8fa798328423718282aac
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#69945] [PATCH] gnu: slock: Fix cross-compiling.
  2024-03-22 16:45 [bug#69945] [PATCH] gnu: slock: Fix cross-compiling Zheng Junjie
@ 2024-03-27 13:00 ` Christopher Baines
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Baines @ 2024-03-27 13:00 UTC (permalink / raw)
  To: Zheng Junjie; +Cc: 69945, 69945-done

[-- Attachment #1: Type: text/plain, Size: 360 bytes --]


Zheng Junjie <zhengjunjie@iscas.ac.cn> writes:

> * gnu/packages/suckless.scm (slock)
> [arguments]: Use Gexp.
>
> Change-Id: I491c43a6ce2c3fc3aed43ecab9d4a2ab251038bb
> ---
>  gnu/packages/suckless.scm | 11 ++++++-----
>  1 file changed, 6 insertions(+), 5 deletions(-)

Thanks, I've pushed this to master as
9fa8c53625756f9a32c5832d92fd54d7c34b8b70.

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-27 13:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-22 16:45 [bug#69945] [PATCH] gnu: slock: Fix cross-compiling Zheng Junjie
2024-03-27 13:00 ` Christopher Baines

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).