guix.scm: Reuse %srcdir instead of calling getcwd

This commit is contained in:
Collin J. Doering 2023-04-30 21:16:37 -04:00
parent 143b38c89c
commit cee5d48466
Signed by: rekahsoft
GPG Key ID: 7B4DEB93212B3022

View File

@ -35,7 +35,7 @@
(define %blog-rekahsoft-ca (define %blog-rekahsoft-ca
(let ((commit (oid->string (let ((commit (oid->string
(reference-target (reference-target
(repository-head (repository-open (getcwd)))))) (repository-head (repository-open %srcdir)))))
(revision "1")) (revision "1"))
(package (package
(name "blog-rekahsoft-ca") (name "blog-rekahsoft-ca")