mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2025-06-30 05:55:20 +00:00
rosenthal: atuin: Reference ‘atuin’ exectuable by store path.
* rosenthal/packages/rust-apps.scm (atuin)[arguments]<#:phases>: Add 'patch-references.
This commit is contained in:
parent
f8c9cd9dcc
commit
d197f3b2c6
@ -46,6 +46,11 @@
|
|||||||
''("client" "sync" "server" "clipboard" "daemon")
|
''("client" "sync" "server" "clipboard" "daemon")
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch-references
|
||||||
|
(lambda _
|
||||||
|
(substitute* (find-files "crates/atuin/src/shell")
|
||||||
|
(("atuin (uuid|history|search)" all)
|
||||||
|
(string-append #$output "/bin/" all)))))
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key outputs features #:allow-other-keys)
|
(lambda* (#:key outputs features #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
Loading…
Reference in New Issue
Block a user