mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: transmission: Do not embed kernel version in user agent.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Add 'remove-kernel-version phase.
This commit is contained in:
parent
52cb6e6310
commit
7f85e7ce49
1 changed files with 5 additions and 0 deletions
|
@ -105,6 +105,11 @@ (define-public transmission
|
|||
#:glib-or-gtk-wrap-excluded-outputs '("out")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
;; Avoid embedding kernel version for reproducible build
|
||||
(add-after 'unpack 'remove-kernel-version
|
||||
(lambda _
|
||||
(substitute* "third-party/miniupnpc/updateminiupnpcstrings.sh"
|
||||
(("OS_VERSION=`uname -r`") "OS_VERSION=Guix"))))
|
||||
(add-after 'install 'move-gui
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
;; Move the GUI to its own output, so that "out" doesn't
|
||||
|
|
Loading…
Reference in a new issue