From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: [PATCH] kakasi + perl-kakasi -- dependencies for namazu Date: Sun, 25 Sep 2016 19:37:40 +0200 Message-ID: <20160925193740.7857236c@scratchpost.org> References: <878tuh5pc3.fsf@we.make.ritual.n0.is> <20160925171716.GB9499@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33262) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boDNA-00059z-Td for guix-devel@gnu.org; Sun, 25 Sep 2016 13:37:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1boDN5-0001Vf-I0 for guix-devel@gnu.org; Sun, 25 Sep 2016 13:37:52 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:53801) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boDN5-0001VO-At for guix-devel@gnu.org; Sun, 25 Sep 2016 13:37:47 -0400 In-Reply-To: <20160925171716.GB9499@jasmine> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: ng0 , guix-devel@gnu.org > > + `(#:tests? #f)) ; Requires kakasi in -lkakasi , fixme. If you like the easy way, just set the environment variable LIBRARY_PATH (or LD_LIBRARY_PATH) before running the tests so it finds the library "kakasi". Something like (arguments ... #phases (modify-phases %standard-phases (add-before 'check 'check-set-library-path (lambda x (setenv "LIBRARY_PATH" (getcwd)) ; or wherever the library is; maybe extend the existing LIBRARY_PATH instead if needed. (apply (assoc-ref %standard-phases 'check) x))) It's not like the tests will be installed or anything...