From b35c1e5415dc8ef2547e9aa9a5bd63450c05118d Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 15 Jan 2023 01:00:09 +0100 Subject: gnu: arandr: Truth is obsolete. * gnu/packages/xdisorg.scm (arandr)[source, arguments]: Remove trailing #t. --- gnu/packages/xdisorg.scm | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 260839a6f6..f815462714 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -226,8 +226,7 @@ (define-public arandr ;; pages (this is equivalent to 'gzip --no-name'.) (substitute* "setup.py" (("gzip\\.open\\(gzfile, 'w', 9\\)") - "gzip.GzipFile('', 'wb', 9, open(gzfile, 'wb'), 0.)")) - #t)))) + "gzip.GzipFile('', 'wb', 9, open(gzfile, 'wb'), 0.)")))))) (build-system python-build-system) (arguments `(#:phases @@ -236,15 +235,13 @@ (define-public arandr (lambda* (#:key inputs #:allow-other-keys) (substitute* "screenlayout/xrandr.py" (("\"xrandr\"") (string-append "\"" (assoc-ref inputs "xrandr") - "/bin/xrandr\""))) - #t)) + "/bin/xrandr\""))))) (add-after 'install 'wrap-gi-typelib (lambda* (#:key inputs outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out")) (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) (wrap-program (string-append out "/bin/arandr") - `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))) - #t))) + `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))))) #:tests? #f)) ;no tests (inputs `(("gtk+" ,gtk+) ("pycairo" ,python-pycairo) -- cgit v1.2.3