From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: ng0 Newsgroups: gmane.comp.gnu.guix.user,gmane.lisp.guile.user Subject: walking up the filetree (in a Guix related package) Date: Sun, 16 Apr 2017 13:56:27 +0000 Message-ID: <20170416133501.v57fsvz65xon6s7f@abyayala> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: blaine.gmane.org 1492351012 26326 195.159.176.226 (16 Apr 2017 13:56:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 16 Apr 2017 13:56:52 +0000 (UTC) Cc: help-guix@gnu.org To: guile-user@gnu.org Original-X-From: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sun Apr 16 15:56:47 2017 Return-path: Envelope-to: gcggh-help-guix@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1czkfX-0006hV-Es for gcggh-help-guix@m.gmane.org; Sun, 16 Apr 2017 15:56:47 +0200 Original-Received: from localhost ([::1]:60650 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czkfb-0003PY-SZ for gcggh-help-guix@m.gmane.org; Sun, 16 Apr 2017 09:56:51 -0400 Original-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 Original-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 Original-Received: from perdizione.investici.org ([2001:41d0:2:33d0::19]:58435) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1czkfM-0004xB-KS; Sun, 16 Apr 2017 09:56:36 -0400 Original-Received: from [94.23.50.208] (perdizione [94.23.50.208]) (Authenticated sender: niasterisk@grrlz.net) by localhost (Postfix) with ESMTPSA id A9A7F120FD4; Sun, 16 Apr 2017 13:56:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cryptolab.net; s=stigmate; t=1492350994; bh=MZp6vRWpgJCJtiNJvhHZd7RzDdYp/DtuJ9nGne73cAY=; h=Date:From:To:Cc:Subject; b=IIn0K7qwGGH9LE+QIard0EoqB3DnR6mKNd5k30Yn3Jz+asewiXwNN+IED2TAymqx7 5W+4SM9pLVeJNiAexk9FLObecp55x0tA3sFN/5nxAZLEHIQWnlQ1eUkIx8w3s4jLCn gvgIDoTvuf9G/oaRoPzGV/0JeqsZ6tPeUp04MKds= Mail-Followup-To: guile-user@gnu.org, help-guix@gnu.org Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 2001:41d0:2:33d0::19 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.21 Precedence: list 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 Original-Sender: "Help-Guix" Xref: news.gmane.org gmane.comp.gnu.guix.user:1828 gmane.lisp.guile.user:13604 Archived-At: 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/