From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: walking up the filetree (in a Guix related package) Date: Mon, 17 Apr 2017 12:45:04 +0200 Message-ID: <87inm35n4f.fsf@elephly.net> References: <20170416133501.v57fsvz65xon6s7f@abyayala> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d049o-0008LT-6B for help-guix@gnu.org; Mon, 17 Apr 2017 06:45:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d049l-0007eU-4F for help-guix@gnu.org; Mon, 17 Apr 2017 06:45:20 -0400 In-reply-to: <20170416133501.v57fsvz65xon6s7f@abyayala> 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: ng0 Cc: guile-user@gnu.org, help-guix@gnu.org ng0 writes: > This is very similar to what I use in the gnURL release procedure, > but it has one defect: It requires that the file is located in the > top sourcedirectory / root directory of the source. > > I'm trying to change this: > > (define %source-dir (dirname (current-filename))) > > so that it interacts with the (source (local-file)) > of the package and allows the package to sit in contrib/guix-neomutt.scm, > but I'm not sure how this can be achieved. All ways I've tried failed > so far. What part of the Guile documentation could help? What have you tried and how have these attempts failed? -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net