From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: walking up the filetree (in a Guix related package) Date: Sun, 16 Apr 2017 13:56:27 +0000 Message-ID: <20170416133501.v57fsvz65xon6s7f@abyayala> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czkfS-0003Of-Uh for help-guix@gnu.org; Sun, 16 Apr 2017 09:56:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czkfS-00051O-22 for help-guix@gnu.org; Sun, 16 Apr 2017 09:56:43 -0400 Content-Disposition: inline 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: guile-user@gnu.org Cc: help-guix@gnu.org Hi, in https://github.com/neomutt/neomutt/pull/527 I'm trying to add a file to neomutt which can be used to build the current checkout with Guix, skipping the hash check. 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? For the Guix list and cross subscribed people: did we introduce something in Guix recently which maybe makes this way of defining the source obsolete? Thanks! -- PGP and more: https://people.pragmatique.xyz/ng0/