summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAndré Batista <nandre@riseup.net>2025-07-23 15:05:11 -0300
committerHilton Chain <hako@ultrarare.space>2025-07-24 14:45:11 +0800
commit7a4b4413153e7c07b2c5369622d18e844f39f3c4 (patch)
tree0a671f47ce09232b332f86249e7c5fc05dc5c169 /gnu
parent836dfa2b431c1c8974afd03e2f465260e6fc3b6c (diff)
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/tor-browsers.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/tor-browsers.scm b/gnu/packages/tor-browsers.scm
index 64d0c770cf6..fbcd9f933a7 100644
--- a/gnu/packages/tor-browsers.scm
+++ b/gnu/packages/tor-browsers.scm
@@ -646,6 +646,11 @@ Browser.")
646 ;; system/architecture-specific file name. 646 ;; system/architecture-specific file name.
647 (install-file (first (find-files "." "geckodriver")) 647 (install-file (first (find-files "." "geckodriver"))
648 (string-append #$output "/bin")))) 648 (string-append #$output "/bin"))))
649 (add-after 'install 'remove-duplicate-bin
650 (lambda* (#:key outputs #:allow-other-keys)
651 (delete-file (string-append #$output "/lib/"
652 #$moz-app-name "/"
653 #$moz-app-name "-bin"))))
649 (add-after 'install 'wrap-program 654 (add-after 'install 'wrap-program
650 (lambda* (#:key inputs #:allow-other-keys) 655 (lambda* (#:key inputs #:allow-other-keys)
651 (let* ((gtk #$(this-package-input "gtk+")) 656 (let* ((gtk #$(this-package-input "gtk+"))