From mboxrd@z Thu Jan 1 00:00:00 1970 From: sirgazil Subject: Using Guix API in a foreign distribution Date: Sat, 15 Apr 2017 09:46:31 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38333) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czOji-0000Uc-9K for help-guix@gnu.org; Sat, 15 Apr 2017 10:31:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czOjf-000289-66 for help-guix@gnu.org; Sat, 15 Apr 2017 10:31:38 -0400 Received: from sender-pp-092.zoho.com ([135.84.80.237]:25348) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1czOje-00027s-VG for help-guix@gnu.org; Sat, 15 Apr 2017 10:31:35 -0400 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org Hi, I'm using Guix 20170415.01 (binary installation) on Debian 8, and I was hoping to use the Guix API by installing the guix package as a normal user, but it seems Guile can't find guix modules: ---------------------------------------------------------------------- $ guile GNU Guile 2.2.0 Copyright (C) 1995-2017 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guile-user)> (use-modules (guix packages)) While compiling expression: ERROR: no code for module (guix packages) ---------------------------------------------------------------------- I'm using Guile from Guix, and I have all the environment variables set as suggested by "guix package --search-paths". Also, I can install Guile libraries from Guix and Guile finds them without problems. So, is anyone able to use the Guix API in this way, or do you have to clone the Guix repository for that? Thanks, --- https://sirgazil.bitbucket.io/