mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
gnu: slock: Fix cross-compiling.
* gnu/packages/suckless.scm (slock)[arguments]: Use Gexp. Change-Id: I491c43a6ce2c3fc3aed43ecab9d4a2ab251038bb Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
parent
8cc450e59a
commit
9fa8c53625
1 changed files with 6 additions and 5 deletions
|
@ -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/")
|
||||
|
|
Loading…
Reference in a new issue