mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-20 09:43:43 -05:00
gnu: sbcl-trivial-clipboard: Replace xclip with xsel to reduce closure size.
* gnu/packages/lisp-xyz.scm (sbcl-trivial-clipboard)[inputs]: Replace xclip with xsel. [arguments]: Adapt reference. This takes the closure size of cl-trivial-clipboard from 90 MiB down to 78 MiB.
This commit is contained in:
parent
ced05db048
commit
1004c54c2e
1 changed files with 5 additions and 3 deletions
|
@ -3853,7 +3853,9 @@ (define-public sbcl-trivial-clipboard
|
|||
"0apkgqrscylw3hhm5x2vs0z3hz6h7zd7dl5y3wr2zl8qjpvpc80k"))))
|
||||
(build-system asdf-build-system/sbcl)
|
||||
(inputs
|
||||
(list xclip))
|
||||
;; Pick xsel instead of xclip because its closure size is slightly
|
||||
;; smaller.
|
||||
(list xsel))
|
||||
(native-inputs
|
||||
(list sbcl-fiveam))
|
||||
(arguments
|
||||
|
@ -3862,8 +3864,8 @@ (define-public sbcl-trivial-clipboard
|
|||
(add-after 'unpack 'fix-paths
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "src/text.lisp"
|
||||
(("\"xclip\"")
|
||||
(string-append "\"" (assoc-ref inputs "xclip") "/bin/xclip\""))))))))
|
||||
(("\"xsel\"")
|
||||
(string-append "\"" (assoc-ref inputs "xsel") "/bin/xsel\""))))))))
|
||||
(home-page "https://github.com/snmsts/trivial-clipboard")
|
||||
(synopsis "Access system clipboard in Common Lisp")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue