summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2022-08-31 19:14:05 -0400
committerDavid Thompson <dthompson2@worcester.edu>2022-08-31 19:14:05 -0400
commit2b89c0fe9b1390d1b62d42495e2130f5213bc409 (patch)
treeb113829ce36bdd1d90f37a458b21c94392e0acf4
parent28ca2d7cd4e272f23fae62ead77bf06bb867ead6 (diff)
guix: Use simpler method of using local git checkout.
-rw-r--r--guix.scm8
1 files changed, 2 insertions, 6 deletions
diff --git a/guix.scm b/guix.scm
index d079ebd..2450e55 100644
--- a/guix.scm
+++ b/guix.scm
@@ -39,7 +39,7 @@
(guix packages)
((guix licenses) #:prefix license:)
(guix download)
- (guix gexp)
+ (guix git)
(guix git-download)
(guix build-system gnu)
(guix utils)
@@ -120,14 +120,10 @@ SDL2 C shared library via the foreign function interface.")
(home-page "https://git.dthompson.us/guile-sdl2.git")
(license license:lgpl3+))))
-(define %source-dir (dirname (current-filename)))
-
(package
(name "chickadee")
(version "0.8.0")
- (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
'(#:make-flags '("GUILE_AUTO_COMPILE=0")