summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2022-08-31 19:16:06 -0400
committerDavid Thompson <dthompson2@worcester.edu>2022-08-31 19:16:06 -0400
commitc5867856a9a63694462329d73c40dc5ca978a397 (patch)
tree9be0ac1b997eef2276bb7b70f4e1793a3956d1ac
parent2f3704155a2a2386280032a080e0ce6297ce23ec (diff)
guix: Use simpler method of using local git checkout.
-rw-r--r--guix.scm13
1 files changed, 4 insertions, 9 deletions
diff --git a/guix.scm b/guix.scm
index 8d57144..963ac15 100644
--- a/guix.scm
+++ b/guix.scm
@@ -25,7 +25,7 @@
;;
;; To use as the basis for a development environment, run:
;;
-;; guix environment -l guix.scm
+;; guix shell
;;
;;; Code:
@@ -34,10 +34,9 @@
(ice-9 rdelim)
(srfi srfi-1)
(srfi srfi-26)
- (guix gexp)
+ (guix git)
(guix packages)
(guix licenses)
- (guix git-download)
(guix build-system gnu)
((guix build utils) #:select (with-directory-excursion))
(gnu packages)
@@ -47,14 +46,10 @@
(gnu packages sdl)
(gnu packages texinfo))
-(define %source-dir (dirname (current-filename)))
-
(package
(name "guile-sdl2")
- (version "0.6.0")
- (source (local-file %source-dir
- #:recursive? #t
- #:select? (git-predicate %source-dir)))
+ (version "0.7.0")
+ (source (git-checkout (url (dirname (current-filename)))))
(build-system gnu-build-system)
(arguments
'(#:make-flags '("GUILE_AUTO_COMPILE=0")