From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: Re: Guix build side - including modules (guix hash), (guix gcrypt): How to provide shared library? Date: Mon, 2 Jan 2017 11:06:27 +0100 Message-ID: References: <20170102031618.731a77b0@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42857) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cNzVg-00063r-Og for guix-devel@gnu.org; Mon, 02 Jan 2017 05:06:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cNzVc-000593-MD for guix-devel@gnu.org; Mon, 02 Jan 2017 05:06:32 -0500 Received: from mail-qt0-x22d.google.com ([2607:f8b0:400d:c0d::22d]:35657) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cNzVc-00058o-HL for guix-devel@gnu.org; Mon, 02 Jan 2017 05:06:28 -0500 Received: by mail-qt0-x22d.google.com with SMTP id c47so438057647qtc.2 for ; Mon, 02 Jan 2017 02:06:28 -0800 (PST) In-Reply-To: <20170102031618.731a77b0@scratchpost.org> 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: Danny Milosavljevic Cc: guix-devel > how can I use (guix hash) on the build side? It requires the libgcrypt shared library and that's not available on the build side... Depends. For a one off package I'd add it to native-inputs. Otherwise you can create a new build-system that wraps the gnu-build-system and extend the gnu-build-system's implicit inputs with libgcrypt. Which is basically just automatically adding it to native-inputs for you.