From 3ff4949e053c4e79b7f114ca8ebed323a424d666 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 31 Aug 2022 19:12:12 -0400 Subject: guix: Use simpler method for local git checkout. --- guix.scm | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/guix.scm b/guix.scm index 54b74d7..d3c1e92 100644 --- a/guix.scm +++ b/guix.scm @@ -30,8 +30,7 @@ (use-modules (guix packages) (guix licenses) - (guix gexp) - (guix git-download) + (guix git) (guix build-system gnu) (gnu packages) (gnu packages autotools) @@ -40,14 +39,10 @@ (gnu packages pkg-config) (gnu packages texinfo)) -(define %source-dir (dirname (current-filename))) - (package (name "haunt") (version "0.2.6") - (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 '(#:phases -- cgit v1.2.3