diff options
author | Leo Famulari <leo@famulari.name> | 2017-06-03 19:48:52 -0400 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2017-06-07 15:58:16 -0400 |
commit | 94db92f78ec9c849f9c8da05d4d35356909f9fbe (patch) | |
tree | eed8fd20b4e84de453b978d3b86ab8c2dc73822b | |
parent | 4679dd6967c21e21c740cd88e17191b8e2aac5ee (diff) | |
download | guix-94db92f78ec9c849f9c8da05d4d35356909f9fbe.tar guix-94db92f78ec9c849f9c8da05d4d35356909f9fbe.tar.gz |
artwork: Use a descriptive name for the source directory.
* gnu/artwork.scm (%artwork-repository): Set a descriptive file-name and
use the full commit hash when fetching.
-rw-r--r-- | gnu/artwork.scm | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/gnu/artwork.scm b/gnu/artwork.scm index 94c89143a6..92498b8b23 100644 --- a/gnu/artwork.scm +++ b/gnu/artwork.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2017 Leo Famulari <leo@famulari.name> ;;; ;;; This file is part of GNU Guix. ;;; @@ -28,13 +29,16 @@ ;;; Code: (define %artwork-repository - (origin - (method git-fetch) - (uri (git-reference - (url "git://git.savannah.gnu.org/guix/guix-artwork.git") - (commit "6998d30"))) - (sha256 - (base32 - "0k7j3pj9s3zqiqmfkapypssvzx3f12yr0cc2rbzxqfii0b4clp1j")))) + (let ((commit "6998d30425289b087c64f63e7415df2241e591db")) + (origin + (method git-fetch) + (uri (git-reference + (url "git://git.savannah.gnu.org/guix/guix-artwork.git") + (commit commit))) + (file-name (string-append "guix-artwork-" (string-take commit 7) + "-checkout")) + (sha256 + (base32 + "0k7j3pj9s3zqiqmfkapypssvzx3f12yr0cc2rbzxqfii0b4clp1j"))))) ;;; artwork.scm ends here |