summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <ikiwiki.info>2017-09-24 17:42:52 +0100
committerChristopher Baines <ikiwiki.info>2017-09-24 17:42:52 +0100
commit39716ccaa84a2a1f593b35bb68c497c77bed6a04 (patch)
tree98bae2dcd250585f42b45407960446c9e0ab07f1
parent3c2eec9db2b6545b5c8264ba52a4b17db2960e57 (diff)
downloadcbaines.net-39716ccaa84a2a1f593b35bb68c497c77bed6a04.tar
cbaines.net-39716ccaa84a2a1f593b35bb68c497c77bed6a04.tar.gz
Use a snapshot, rather than a git-fetch
As this avoids permission issues.
-rw-r--r--guix.scm15
1 files changed, 8 insertions, 7 deletions
diff --git a/guix.scm b/guix.scm
index 4ae6b47..ce32cb8 100644
--- a/guix.scm
+++ b/guix.scm
@@ -1,19 +1,20 @@
(use-modules (guix packages)
- (guix git-download)
+ (guix download)
(gnu packages web))
(define custom-ikiwiki
- (let ((commit "2b4ab4548c80e608d08602ca4c60cb41e71ff3b2"))
+ (let ((commit "git-annex-album-2"))
(package
(inherit ikiwiki)
(source (origin
- (method git-fetch)
- (uri (git-reference
- (url "http://git.cbaines.net/ikiwiki")
- (commit commit)))
+ (method url-fetch)
+ (uri (string-append
+ "http://git.cbaines.net/ikiwiki/snapshot/ikiwiki-"
+ commit
+ ".tar.gz"))
(sha256
(base32
- "1igbzyy0ys27w73ml7ajcpxy9cxs7v3s9qrcsw4cxb1w7195xi7w"))
+ "1iy740lg7dh27fg0l685i0718gfv3a6p850gqasixr00qq975zay"))
(file-name (string-append "ikiwiki-" (string-take commit 7))))))))
custom-ikiwiki