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 @@
|
||||||
#:glib-or-gtk-wrap-excluded-outputs '("out")
|
#:glib-or-gtk-wrap-excluded-outputs '("out")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-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
|
(add-after 'install 'move-gui
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
;; Move the GUI to its own output, so that "out" doesn't
|
;; Move the GUI to its own output, so that "out" doesn't
|
||||||
|
|
Reference in a new issue