summaryrefslogtreecommitdiff
path: root/guix.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2022-08-31 19:12:12 -0400
committerDavid Thompson <dthompson2@worcester.edu>2022-08-31 19:12:12 -0400
commit3ff4949e053c4e79b7f114ca8ebed323a424d666 (patch)
tree0359c4d5c052d8482d4b3118413636c870e11b73 /guix.scm
parent940036c22fb21f24d72c5811bdddfe13a750d734 (diff)
guix: Use simpler method for local git checkout.
Diffstat (limited to 'guix.scm')
-rw-r--r--guix.scm9
1 files changed, 2 insertions, 7 deletions
diff --git a/guix.scm b/guix.scm
index 54b74d7..d3c1e92 100644
--- a/guix.scm
+++ b/guix.scm
@@ -30,8 +30,7 @@
(use-modules (guix packages)
(guix licenses)
- (guix gexp)
- (guix git-download)
+ (guix git)
(guix build-system gnu)
(gnu packages)
(gnu packages autotools)
@@ -40,14 +39,10 @@
(gnu packages pkg-config)
(gnu packages texinfo))
-(define %source-dir (dirname (current-filename)))
-
(package
(name "haunt")
(version "0.2.6")
- (source (local-file %source-dir
- #:recursive? #t
- #:select? (git-predicate %source-dir)))
+ (source (git-checkout (url (dirname (current-filename)))))
(build-system gnu-build-system)
(arguments
'(#:phases