diff options
author | David Thompson <dthompson2@worcester.edu> | 2022-08-31 19:10:04 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2022-08-31 19:10:04 -0400 |
commit | 940036c22fb21f24d72c5811bdddfe13a750d734 (patch) | |
tree | f278935b281fdcc4a71ad28379031f8332a022a0 /guix.scm | |
parent | 2465ad1acd73ccba61030bfb61a7bff52dbf2d3f (diff) |
guix: Use current directory source when building.
Diffstat (limited to 'guix.scm')
-rw-r--r-- | guix.scm | 16 |
1 files changed, 7 insertions, 9 deletions
@@ -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 |