diff options
| author | Cayetano Santos <csantosb@inventati.org> | 2025-08-26 13:55:02 +0200 |
|---|---|---|
| committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2025-10-05 06:45:39 +0200 |
| commit | 8c84876ecb39bf4ac6c261c8df09cc0530734892 (patch) | |
| tree | 1a9398145b78be93eb9a280d675cc1cb3709f535 | |
| parent | d039c386d56ca59489fbd34276d9c92d727b3f96 (diff) | |
gnu: slstatus: Improve style.
* gnu/packages/suckless.scm (slstatus)[arguments]: Use G-Expressions.
[inputs]: Modernize.
Change-Id: If6e45302b7fc26eceba805cf389569a12915db06
Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
| -rw-r--r-- | gnu/packages/suckless.scm | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm index 603b53dc9dc..4170de1ca3e 100644 --- a/gnu/packages/suckless.scm +++ b/gnu/packages/suckless.scm @@ -157,18 +157,18 @@ other applications, i.e., st, uzbl, urxvt and xterm.") (base32 "063a4fnvsjbc61alnbfdpxy0nwhh9ql9j6s9hkdv12713kv932ds")))) (build-system gnu-build-system) (arguments - `(#:tests? #f ;no test suite - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch - (lambda* (#:key inputs outputs #:allow-other-keys) - (substitute* "config.mk" - (("/usr/local") (assoc-ref outputs "out")) - (("/usr/X11R6") (assoc-ref inputs "x11")) - (("CC = cc") (string-append "CC = " ,(cc-for-target)))))) - (delete 'configure)))) ;no configure script - (inputs - `(("x11" ,libx11))) + (list #:tests? #f ;no test suite + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch + (lambda* (#:key inputs outputs #:allow-other-keys) + (substitute* "config.mk" + (("/usr/local") #$output) + (("/usr/X11R6") #$(this-package-input "libx11")) + (("CC = cc") + (string-append "CC = " #$(cc-for-target)))))) + (delete 'configure)))) ;no configure script + (inputs (list libx11)) (home-page "https://tools.suckless.org/slstatus/") (synopsis "Status monitor for window managers") (description "SlStatus is a suckless status monitor for window managers |
