--with-commit only works with git repos
Hartmut Goebel <email@example.com> skribis:
Toggle quote (2 lines)
> guix build --with-commit only works with git repos
Yup, as documented (info "(guix) Package Transformation Options"). :-)
Toggle quote (4 lines)
> I would expect it to work with mercurial repos, too, as basically this
> is just setting a value in the source definition. (At least this is what
> I would assume it does.)
And Subversion, and Monotone, and CVS… but no, this is not
The implementation is different from what you suggest: it uses a
<git-checkout> record instead of an <origin>. That performs a checkout
beforehand and uses that as the source.
Closing, but you can open a wishlist item if you want.