aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2022-08-18 20:38:54 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2022-08-21 11:57:11 +0200
commit7783a18b7b65f857c0c5420c846b8f5596d137c1 (patch)
tree4723baaa12b67412fdb7207356df88121d7343eb /gnu
parentb8f2eb286ec52c97048e23d326d94ae5772797e8 (diff)
downloadguix-7783a18b7b65f857c0c5420c846b8f5596d137c1.tar.gz
guix-7783a18b7b65f857c0c5420c846b8f5596d137c1.zip
gnu: audacity: Remove gratuitous wrapper script.
Audacity installs a wrapper in the installation root. This wrapper is pointless, as Guix has its own wrapper script in the right location. For more information, see <https://bugs.gnu.org/53790>. * gnu/packages/audio.scm (audacity)[#:phases]: Add ‘delete-gratuitous-script’.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/audio.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index aad86bac06..c0bfb3b9d8 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -875,6 +875,10 @@ engineers, musicians, soundtrack editors and composers.")
(lambda* (#:key inputs #:allow-other-keys)
(substitute* '("libraries/lib-files/FileNames.cpp")
(("\"/usr/include/linux/magic.h\"") "<linux/magic.h>"))))
+ (add-after 'install 'delete-gratuitous-script
+ (lambda* (#:key outputs #:allow-other-keys)
+ (delete-file (string-append (assoc-ref outputs "out")
+ "/audacity"))))
(add-after 'wrap-program 'glib-or-gtk-wrap
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))
;; The test suite is not "well exercised" according to the developers,