From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: Re: [PATCH 7/9] gnu: idris: Update to 0.12.3. Date: Sat, 3 Dec 2016 21:26:02 +0100 Message-ID: References: <20161203104213.8135-1-david@craven.ch> <20161203104213.8135-7-david@craven.ch> <20161203200327.GH21416@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDGsq-0008Un-90 for guix-devel@gnu.org; Sat, 03 Dec 2016 15:26:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDGsm-0004Yg-C6 for guix-devel@gnu.org; Sat, 03 Dec 2016 15:26:08 -0500 Received: from mail-qt0-x22c.google.com ([2607:f8b0:400d:c0d::22c]:35937) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cDGsm-0004Y8-4g for guix-devel@gnu.org; Sat, 03 Dec 2016 15:26:04 -0500 Received: by mail-qt0-x22c.google.com with SMTP id w33so281826924qtc.3 for ; Sat, 03 Dec 2016 12:26:03 -0800 (PST) In-Reply-To: <20161203200327.GH21416@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: Leo Famulari Cc: guix-devel > Why do we need to skip the tests? First idris is not found, then after adding dist/build/idris to PATH, the idris libraries aren't found. So I set IDRIS_LIBRARY_PATH to libs. Then the idris runtime system isn't found, so I added rts to C_INCLUDE_PATH and LIBRARY_PATH. Half of the tests still fail with blah not found. I think that runhaskell Setup.hs test doesn't set the working directory correctly. I spent some time trying to track down the issue further, but couldn't figure out how to build a Haskell project locally: guix environment idris ghc-pkg --package-db=package.conf.d recache GHC_PACKAGE_PATH= runhaskell Setup.hs configure --package-db=package.conf.d That's the point when I gave up. If someone knows how I can build a Haskell project without too much hassle. IDRIS_LIBRARY_PATH currently only takes one path. To package idris libraries it would be nice to extend IDRIS_LIBRARY_PATH to a colon separated list, but without a simple way to build the project (incrementally) it looks like too much of a hassle...