mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2025-01-08 19:40:38 +00:00
rosenthal: cloudflared: Adjust version use in G-expressions.
* rosenthal/packages/networking.scm (cloudflared): Replace #$version with #$(package-version this-package).
This commit is contained in:
parent
f84002986f
commit
1c50972d30
@ -35,7 +35,7 @@ (define-public cloudflared
|
||||
#:build-flags
|
||||
#~(list (string-append
|
||||
"-ldflags="
|
||||
" -X main.Version=" #$version
|
||||
" -X main.Version=" #$(package-version this-package)
|
||||
" -X github.com/cloudflare/cloudflared/cmd/cloudflared/updater.BuiltForPackageManager=Guix"))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
@ -47,7 +47,7 @@ (define-public cloudflared
|
||||
(let ((src "src/github.com/cloudflare/cloudflared/cloudflared_man_template")
|
||||
(dst (string-append #$output "/share/man/man1/cloudflared.1")))
|
||||
(substitute* src
|
||||
(("\\$\\{VERSION\\}") #$version))
|
||||
(("\\$\\{VERSION\\}") #$(package-version this-package)))
|
||||
(mkdir-p (dirname dst))
|
||||
(copy-file src dst)))))))
|
||||
(home-page "https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/")
|
||||
|
Loading…
Reference in New Issue
Block a user