summaryrefslogtreecommitdiff
path: root/guix.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2022-08-31 19:10:04 -0400
committerDavid Thompson <dthompson2@worcester.edu>2022-08-31 19:10:04 -0400
commit940036c22fb21f24d72c5811bdddfe13a750d734 (patch)
treef278935b281fdcc4a71ad28379031f8332a022a0 /guix.scm
parent2465ad1acd73ccba61030bfb61a7bff52dbf2d3f (diff)
guix: Use current directory source when building.
Diffstat (limited to 'guix.scm')
-rw-r--r--guix.scm16
1 files changed, 7 insertions, 9 deletions
diff --git a/guix.scm b/guix.scm
index 2aec180..54b74d7 100644
--- a/guix.scm
+++ b/guix.scm
@@ -30,6 +30,7 @@
(use-modules (guix packages)
(guix licenses)
+ (guix gexp)
(guix git-download)
(guix build-system gnu)
(gnu packages)
@@ -39,17 +40,14 @@
(gnu packages pkg-config)
(gnu packages texinfo))
+(define %source-dir (dirname (current-filename)))
+
(package
(name "haunt")
- (version "0.2")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "git://dthompson.us/haunt.git")
- (commit "f0a7c2b14a201448432d3564d851ee0686d5b1b1")))
- (sha256
- (base32
- "1dnzsw18blhr8admw48zbl3ilz3iiqmb149i37y820h0imqfli0v"))))
+ (version "0.2.6")
+ (source (local-file %source-dir
+ #:recursive? #t
+ #:select? (git-predicate %source-dir)))
(build-system gnu-build-system)
(arguments
'(#:phases