From 1d75ed151a617c7cc734cb7483efcae85e295623 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sat, 30 Jul 2016 19:50:18 -0400 Subject: guix: Use local-file for building the git checkout as a Guix package. --- guix.scm | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/guix.scm b/guix.scm index 82649bf..a4073c6 100644 --- a/guix.scm +++ b/guix.scm @@ -36,6 +36,7 @@ (use-modules (ice-9 match) (srfi srfi-1) + (guix gexp) (guix packages) (guix licenses) (guix git-download) @@ -121,15 +122,8 @@ SDL2 C shared library via the foreign function interface.") (define sly (package (name "sly") - (version "0.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "git://dthompson.us/sly.git") - (commit "9c8c44a"))) - (sha256 - (base32 - "021af35c2yz7hm8ax3mbxnrma0fbijplakl0xy61gjg3w89bjsll")))) + (version "0.2.0") + (source (local-file "." #:recursive? #t)) (build-system gnu-build-system) (arguments '(#:phases -- cgit v1.2.3