diff options
author | David Thompson <dthompson2@worcester.edu> | 2022-08-31 19:16:06 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2022-08-31 19:16:06 -0400 |
commit | c5867856a9a63694462329d73c40dc5ca978a397 (patch) | |
tree | 9be0ac1b997eef2276bb7b70f4e1793a3956d1ac /guix.scm | |
parent | 2f3704155a2a2386280032a080e0ce6297ce23ec (diff) |
guix: Use simpler method of using local git checkout.
Diffstat (limited to 'guix.scm')
-rw-r--r-- | guix.scm | 13 |
1 files changed, 4 insertions, 9 deletions
@@ -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") |