mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
import: elpa: Don't hardcode default branch to 'master'.
Otherwise, remotes without a branch named 'master' will cause an error when importing. * guix/import/elpa (git-repository->origin): Fallback to HEAD instead of the 'master' branch. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
87da416308
commit
9875f9bca3
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ (define ref
|
|||
((assoc-ref recipe #:commit)
|
||||
=> (lambda (commit) (cons 'commit commit)))
|
||||
(else
|
||||
'(branch . "master"))))
|
||||
'())))
|
||||
|
||||
(let-values (((directory commit) (download-git-repository url ref)))
|
||||
`(origin
|
||||
|
|
Loading…
Reference in a new issue