diff options
author | David Thompson <dthompson2@worcester.edu> | 2022-08-31 19:12:12 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2022-08-31 19:12:12 -0400 |
commit | 3ff4949e053c4e79b7f114ca8ebed323a424d666 (patch) | |
tree | 0359c4d5c052d8482d4b3118413636c870e11b73 | |
parent | 940036c22fb21f24d72c5811bdddfe13a750d734 (diff) |
guix: Use simpler method for local git checkout.
-rw-r--r-- | guix.scm | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -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 |