mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 20:49:29 -05:00
gnu: i3status-rust: Fix build.
* gnu/packages/rust-apps.scm (i3status-rust)[arguments]: Actually use the requested OUTPUTS phase keywords instead of the obsolete %OUTPUTS. Reported by vldn[m] on #guix.
This commit is contained in:
parent
9c426e19cf
commit
2f5f658d70
1 changed files with 5 additions and 3 deletions
|
@ -575,12 +575,14 @@ (define-public i3status-rust
|
|||
(setenv "RUSTC_BOOTSTRAP" "1")))
|
||||
(add-after 'unpack 'fix-resources-path
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((resources (string-append %output "/share")))
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(share (string-append out "/share")))
|
||||
(substitute* "src/util.rs"
|
||||
(("/usr/share/i3status-rust") resources)))))
|
||||
(("/usr/share/i3status-rust") share)))))
|
||||
(add-after 'install 'install-resources
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(copy-recursively "files" (string-append %output "/share"))))
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
(copy-recursively "files" (string-append out "/share")))))
|
||||
(add-after 'install 'wrap-i3status
|
||||
(lambda* (#:key outputs inputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out"))
|
||||
|
|
Loading…
Reference in a new issue