GNU bug report logs -
#48331
Emacs' describe-package doesn't work for packages managed by guix
Previous Next
Reported by: Andrew Tropin <andrew <at> trop.in>
Date: Mon, 10 May 2021 07:52:02 UTC
Severity: normal
Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> After updating the package-directory-list variable, functions like
> list-packages, describe-package become aware of packages installed by
> guix.
> ---
> This code is getting work done, but I'm not a very experienced elisp
> developer, so please review it thoroughly.
> +
> +(require 'package)
> +
> +;; Set `package-directory-list' to the value without elpa/ suffix
> +;; to match the structure of site-lisp directory of guix's emacs
> +;; build system.
> +;;;###autoload
> +(setq package-directory-list
> + (list (string-remove-suffix "/elpa" (car package-directory-list))))
> +
> (provide 'guix-emacs)
For future reference, this approach is absolutely unacceptable, no
package should modify customizable variables unless explicitly requested
by the user.
This bug report was last modified 3 years and 140 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.