@@ -136,6 +136,15 @@
"lisp/progmodes/sh-script.el")
(("\"/bin/sh\"")
(format #f "~s" (which "sh"))))
+ (substitute* "lisp/files.el"
+ (("\\(purecopy \"ls\"\\)")
+ (format #f "(purecopy ~s)" (which "ls"))))
+ (substitute* '("src/filelock.c"
+ "lisp/dired-aux.el"
+ "lisp/jka-compr.el"
+ "lisp/jka-cmpr-hook.el")
+ (("\"(sh\|gzip)\"" all cmd)
+ (format #f "~s" (which cmd))))
#t))
(add-before 'configure 'fix-/bin/pwd
(lambda _
@@ -231,6 +240,10 @@
`(("gnutls" ,gnutls)
("ncurses" ,ncurses)
+ ;; Required for "core" functionality, such as dired and compression.
+ ("coreutils" ,coreutils)
+ ("gzip" ,gzip)
+
;; Avoid Emacs's limited movemail substitute that retrieves POP3 email
;; only via insecure channels. This is not needed for (modern) IMAP.
("mailutils" ,mailutils)
@@ -361,7 +374,9 @@ also enabled and works without glitches even on X server."))))
(delete 'strip-double-wrap)))))
(inputs
`(("guix-emacs.el" ,(search-auxiliary-file "emacs/guix-emacs.el"))
- ("ncurses" ,ncurses)))
+ ("ncurses" ,ncurses)
+ ("coreutils" ,coreutils)
+ ("gzip" ,gzip)))
(native-inputs
`(("pkg-config" ,pkg-config)))))