From 7f85e7ce4900a6c948458ecd6022db00bc6428e2 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Sun, 5 Jun 2022 09:24:51 -0700 Subject: gnu: transmission: Do not embed kernel version in user agent. * gnu/packages/bittorrent.scm (transmission)[arguments]: Add 'remove-kernel-version phase. --- gnu/packages/bittorrent.scm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm index 1c9358b896..bc0364d87c 100644 --- a/gnu/packages/bittorrent.scm +++ b/gnu/packages/bittorrent.scm @@ -105,6 +105,11 @@ #: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 -- cgit v1.2.3