mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-23 19:19:20 -05:00
Revert "gnu: emacs: Strip double wrap."
This reverts commit 0ec6b8afd7
that prevents the
load of Emacs packages.
This commit is contained in:
parent
0ec6b8afd7
commit
6c77a50406
1 changed files with 0 additions and 11 deletions
|
@ -191,17 +191,6 @@ (define* (emacs-byte-compile-directory dir)
|
||||||
(rename-file real wrapper))
|
(rename-file real wrapper))
|
||||||
pdmp pdmp-real))
|
pdmp pdmp-real))
|
||||||
#t))
|
#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
|
(add-before 'reset-gzip-timestamps 'make-compressed-files-writable
|
||||||
;; The 'reset-gzip-timestamps phase will throw a permission error
|
;; The 'reset-gzip-timestamps phase will throw a permission error
|
||||||
;; if gzip files aren't writable then. This phase is needed when
|
;; if gzip files aren't writable then. This phase is needed when
|
||||||
|
|
Loading…
Reference in a new issue