What's wrong
I intend to clone a repo using straight-x-pinned-packages to specify the git commit it should clone from.
Currently it only clones HEAD. I had to manually git checkout v4.4.2 on magit to build the package at all.
Directions to reproduce
- set straight-x-pinned-packages
(add-to-list 'straight-x-pinned-packages
'("magit" . "b828afbb4b45641998fb6483a08effb1efb214e1"))
- remove magit from repos and build
rm -rf repos/magit*
rm -rf build/magit*
- have
(let ()
(setf straight-current-profile 'pinned)
(straight-use-package 'magit)
...)
somewhere in your config
4. build fails
5. notice the clone is not b828afbb, and is instead in fact HEAD.
Version information
- Emacs version: 30.1
- Operating system: x86_64-alpine-linux-musl