summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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