diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-09-03 18:34:13 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-09-03 23:26:20 +0200 |
commit | 0dafe48ee712cbc1c050a5aaed3369f472b7a4b7 (patch) | |
tree | 14dc00de37f45c24d066afb8a5b214b92a0b6ed4 /gnu/packages/xdisorg.scm | |
parent | fab0ab65c1fa425a69f0dd41c7711e267fc88605 (diff) | |
download | guix-0dafe48ee712cbc1c050a5aaed3369f472b7a4b7.tar.gz |
gnu: xrandr-invert-colors: Fix executable name.
* gnu/packages/xdisorg.scm (xrandr-invert-colors)[arguments]: Remove ‘.bin’ suffix from the binary during the 'install phase, and don't return #t.
Diffstat (limited to 'gnu/packages/xdisorg.scm')
-rw-r--r-- | gnu/packages/xdisorg.scm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 7bea31f11e..f630ae95a7 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -2226,11 +2226,14 @@ to automatically turn it on on login.") (modify-phases %standard-phases (delete 'configure) (replace 'install + ;; It's simpler to install the single binary ourselves than to patch + ;; the Makefile's install target into working. (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (bin (string-append out "/bin"))) - (install-file "xrandr-invert-colors.bin" bin) - #t)))))) + (mkdir-p bin) + (copy-file "xrandr-invert-colors.bin" + (string-append bin "/xrandr-invert-colors")))))))) (inputs `(("libxrandr" ,libxrandr))) (home-page "https://github.com/zoltanp/xrandr-invert-colors") |