mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-27 19:41:50 +02:00
gnu: make-torbrowser: Remove duplicate binary after install phase.
Remove '(#$moz-app-name)-bin' which is a duplicate of '.(#$moz-app-name)-real'. * gnu/packages/tor-browsers.scm (make-torbrowser) [arguments] <#:phases>: Add 'remove-duplicate-bin phase. Change-Id: Ic58503f8190e4d8198fada65967169b079bdfafd Signed-off-by: Hilton Chain <hako@ultrarare.space>
This commit is contained in:
committed by
Hilton Chain
parent
836dfa2b43
commit
7a4b441315
@@ -646,6 +646,11 @@ Browser.")
|
||||
;; system/architecture-specific file name.
|
||||
(install-file (first (find-files "." "geckodriver"))
|
||||
(string-append #$output "/bin"))))
|
||||
(add-after 'install 'remove-duplicate-bin
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(delete-file (string-append #$output "/lib/"
|
||||
#$moz-app-name "/"
|
||||
#$moz-app-name "-bin"))))
|
||||
(add-after 'install 'wrap-program
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let* ((gtk #$(this-package-input "gtk+"))
|
||||
|
||||
Reference in New Issue
Block a user