diff options
author | David Thompson <dthompson2@worcester.edu> | 2022-08-31 19:14:05 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2022-08-31 19:14:05 -0400 |
commit | 2b89c0fe9b1390d1b62d42495e2130f5213bc409 (patch) | |
tree | b113829ce36bdd1d90f37a458b21c94392e0acf4 /guix.scm | |
parent | 28ca2d7cd4e272f23fae62ead77bf06bb867ead6 (diff) |
guix: Use simpler method of using local git checkout.
Diffstat (limited to 'guix.scm')
-rw-r--r-- | guix.scm | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -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") |