Closed agzam closed 2 years ago
Same problem when installing using the following straight recipe:
(straight-use-package
'(image-roll
:type git
:host github
:repo "dalanicolai/image-roll.el"))
Ah okay, thanks for reporting. That is surprising behavior, as far as I know it is not anywhere documented that that list should not include built-in packages. Well, of course it was easy enough to fix. I have removed the requirements.
Thanks. And now that you say it, yes, it is surprising. Perhaps a bug in straight.el. I'll check whether they have an issue for it.
Couldn't find an issue. Created one, see here https://github.com/radian-software/straight.el/issues/961
There's nothing technically wrong with declaring a built-in Emacs package as a dependency in Package-Requires. It's just not that common. I've added image-mode
to the straight-built-in-psuedo-packages
variable by default. If you run into an issue like this in the future, you can append to that variable as well.
I specified built-in packages in the past when I needed a certain minimal version of them.
Thanks. And now that you say it, yes, it is surprising. Perhaps a bug in straight.el. I'll check whether they have an issue for it.
I had the same issue using Spacemacs/Quelpa.
There's nothing technically wrong with declaring a built-in Emacs package as a dependency in Package-Requires. It's just not that common. I've added
image-mode
to thestraight-built-in-psuedo-packages
variable by default. If you run into an issue like this in the future, you can append to that variable as well.
I am not sure why it was complaining then. There was no error in the declaration, but the package manager (I guess) was complaining that there was no image-mode-0 (i.e. version 0) available. We will probably find out one day :)
4dd9533bd57ff0e66de11724b86d9c59c41eb21f breaks package retrieval via straight.
doom reports:
Perhaps
Package-Requires: (image-mode
is not needed, since image-mode is built-in ¯\_(ツ)_/¯workaround: