From 2b89c0fe9b1390d1b62d42495e2130f5213bc409 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 31 Aug 2022 19:14:05 -0400 Subject: guix: Use simpler method of using local git checkout. --- guix.scm | 8 ++------ 1 file 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") -- cgit v1.2.3