Oops, I meant
(arguments
...
#phases
(modify-phases %standard-phases
(add-before 'check 'check-set-library-path
(lambda _
(setenv "LIBRARY_PATH" (getcwd)) ; or wherever the library is;
maybe extend the existing LIBRARY_PATH instead if needed.
Since setenv's environment va
> > + `(#: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
On Sat, Sep 24, 2016 at 02:45:16PM +, ng0 wrote:
> Subject: [PATCH 1/2] gnu: Add kakasi.
>
> * gnu/packages/namazu.scm: New file.
> * gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
Could it go in (gnu packages textutils)?
> +(define-public kakasi
> + (arguments
> +`(;; kakasi-4 /bin/echo
Those are in namazu.scm because they are needed for namazu. Tests for
kakasi require some fixes, however I will not fix this.
From d8102a06d98d3f5726b04da2cf64f09f69793ed2 Mon Sep 17 00:00:00 2001
From: ng0
Date: Sat, 17 Sep 2016 23:56:29 +
Subject: [PATCH 1/2] gnu: Add kakasi.
* gnu/package