mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: zoxide: Reference ‘zoxide’ executable by store path.
* gnu/packages/rust-apps.scm (zoxide)[arguments]<#:phases>: Patch references of ‘zoxide’ executable. Change-Id: I45e51d538904f5b9fbebacd1ece13c01bf076d1e
This commit is contained in:
parent
d1a04765ba
commit
01e577e7a0
1 changed files with 7 additions and 0 deletions
|
@ -5082,6 +5082,13 @@ minimum contrast levels, and more.")
|
|||
("rust-tempfile" ,rust-tempfile-3))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-references
|
||||
(lambda _
|
||||
(substitute* (find-files "templates")
|
||||
(("zoxide (add|query)" all)
|
||||
(string-append #$output "/bin/" all))
|
||||
(("(zoxide = \")(zoxide)" _ prefix suffix)
|
||||
(string-append prefix #$output "/bin/" suffix)))))
|
||||
(add-after 'install 'install-more
|
||||
(lambda _
|
||||
(let* ((out #$output)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue