From 6c77a5040604ebb7c0196f47520cf5fcc30c2087 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Sat, 29 Aug 2020 15:58:02 +0200 Subject: Revert "gnu: emacs: Strip double wrap." This reverts commit 0ec6b8afd7e7a6c288fbf48c5779f2e0bdaffb55 that prevents the load of Emacs packages. --- gnu/packages/emacs.scm | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 84c1889617..a338abc774 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -191,17 +191,6 @@ (rename-file real wrapper)) pdmp pdmp-real)) #t)) - (add-after 'glib-or-gtk-wrap 'strip-double-wrap - (lambda* (#:key outputs #:allow-other-keys) - ;; Directly copy emacs-X.Y to emacs, so that it is not wrapped - ;; twice. This also fixes a minor issue, where WMs would not be - ;; able to track emacs back to emacs.desktop. - (with-directory-excursion (assoc-ref outputs "out") - (copy-file (string-append - "bin/emacs-" - ,(version-major+minor (package-version emacs))) - "bin/emacs") - #t))) (add-before 'reset-gzip-timestamps 'make-compressed-files-writable ;; The 'reset-gzip-timestamps phase will throw a permission error ;; if gzip files aren't writable then. This phase is needed when -- cgit 1.4.1