summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-07-10 02:31:26 -0500
committerEric Bavier <bavier@member.fsf.org>2015-07-14 18:14:43 -0500
commit107db20da89e7d4dba73d7eaf7f2fe41b963a98b (patch)
treeb17f7ef8cbb0fe0c96280e91f11649ee0dfd8b3c /gnu
parentdbe422aba862b2f4ff204743be13e2d3fb255fa8 (diff)
downloadguix-107db20da89e7d4dba73d7eaf7f2fe41b963a98b.tar.gz
gnu: ccache: Update to 3.2.2.
* gnu/packages/ccache.scm (ccache): Update to 3.2.2.
  [arguments]: Rename 'patch-test-shebangs phase to 'setup-tests.  Set the
  SHELL environment variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ccache.scm12
1 files changed, 7 insertions, 5 deletions
diff --git a/gnu/packages/ccache.scm b/gnu/packages/ccache.scm
index 2b45ab09d6..9063acb6fc 100644
--- a/gnu/packages/ccache.scm
+++ b/gnu/packages/ccache.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
+;;; Copyright © 2014, 2015 Eric Bavier <bavier@member.fsf.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -28,7 +28,7 @@
 (define-public ccache
   (package
     (name "ccache")
-    (version "3.1.10")
+    (version "3.2.2")
     (source
      (origin
       (method url-fetch)
@@ -36,16 +36,18 @@
                           version ".tar.xz"))
       (sha256
        (base32
-        "0mr8n1nbykxw4rs55ad8wd6xmfhihn09mxpxb91sn9mlsd1ryhw8"))))
+        "1jm0qb3h5sypllaiyj81zp6m009vm50hzjnx994ril94kxlrj3ag"))))
     (build-system gnu-build-system)
     (native-inputs `(("perl" ,perl)))   ;for test.sh
     (inputs `(("zlib" ,zlib)))
     (arguments
      '(#:phases (alist-cons-before
-                 'check 'patch-test-shebangs
+                 'check 'setup-tests
                  (lambda _
                    (substitute* '("test/test_hashutil.c" "test.sh")
-                     (("#!/bin/sh") (string-append "#!" (which "sh")))))
+                     (("#!/bin/sh") (string-append "#!" (which "sh"))))
+                   (setenv "SHELL" (which "sh"))
+                   #t)
                  %standard-phases)))
     (home-page "https://ccache.samba.org/")
     (synopsis "Compiler cache")