From 9d5448f35f8d933c7dd54427bf6b3186a5154919 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 10 Jul 2016 00:12:56 +0300 Subject: [PATCH] gnu: ccache: Update to 3.2.5. * gnu/packages/ccache.scm (ccache): Update to 3.2.5. [native-inputs]: Add which. --- gnu/packages/ccache.scm | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/gnu/packages/ccache.scm b/gnu/packages/ccache.scm index d84ac80bbf..01db7ae57d 100644 --- a/gnu/packages/ccache.scm +++ b/gnu/packages/ccache.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014, 2015, 2016 Eric Bavier +;;; Copyright © 2016 Efraim Flashner ;;; ;;; This file is part of GNU Guix. ;;; @@ -28,7 +29,7 @@ (define-module (gnu packages ccache) (define-public ccache (package (name "ccache") - (version "3.2.4") + (version "3.2.5") (source (origin (method url-fetch) @@ -36,16 +37,18 @@ (define-public ccache version ".tar.xz")) (sha256 (base32 - "0pga3hvd80f2p7mz88jmmbwzxh4vn5ihyjx5f6na8y2fclzsjg8w")))) + "11db1g109g0g5si0s50yd99ja5f8j4asxb081clvx78r9d9i2w0i")))) (build-system gnu-build-system) - (native-inputs `(("perl" ,perl))) ;for test.sh + (native-inputs `(("perl" ,perl) ;for test.sh + ("which" ,(@ (gnu packages base) which)))) (inputs `(("zlib" ,zlib))) (arguments '(#:phases (alist-cons-before 'check 'setup-tests (lambda _ (substitute* '("test/test_hashutil.c" "test.sh") - (("#!/bin/sh") (string-append "#!" (which "sh")))) + (("#!/bin/sh") (string-append "#!" (which "sh"))) + (("which") (which "which"))) #t) %standard-phases))) (home-page "https://ccache.samba.org/")