From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH] gnu: aspell: Wrap binary to find dictionaries. Date: Sat, 9 Jan 2016 15:29:29 -0500 Message-ID: <20160109202929.GA30687@jasmine> References: <87ziweoj0u.fsf@gmail.com> <87r3hqogwv.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42540) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aI08h-0002qJ-TX for guix-devel@gnu.org; Sat, 09 Jan 2016 15:29:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aI08e-0003ot-Mu for guix-devel@gnu.org; Sat, 09 Jan 2016 15:29:31 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:47604) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aI08e-0003oi-HR for guix-devel@gnu.org; Sat, 09 Jan 2016 15:29:28 -0500 Content-Disposition: inline In-Reply-To: <87r3hqogwv.fsf@gmail.com> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Alex Kost Cc: Guix-devel , Federico Beffa On Sat, Jan 09, 2016 at 07:29:20PM +0300, Alex Kost wrote: > >> From e183f8e473b97406968ecbda9fb13ebdf60963ec Mon Sep 17 00:00:00 2001 > >> From: Federico Beffa > >> Date: Fri, 8 Jan 2016 14:23:12 +0100 > >> Subject: [PATCH 11/11] gnu: aspell: Wrap binary to find dictionaries. > >> > >> * gnu/packages/aspell.scm (aspell): Add 'wrap-aspell phase. > 'wrap-aspell' phase. > Typo --------------------------------------------------^ > > [...] > >> + (wrap-program bin/aspell > >> + '("ASPELL_CONF" "" = > >> + ("${ASPELL_CONF:-\"dict-dir ${GUIX_PROFILE:-$HOME/.guix-profile}/lib/aspell\"}"))))))))) > > > > Just to clarify: what if I would like to run aspell with my own > > ASPELL_CONF. Will it work or will this default value override my own? > > I mean I want to run aspell like this: > > > > ASPELL_CONF= aspell > > > > Will aspell be started with my ? > > Sorry for being lazy, now I see that it will work. Thanks to you (and > to the bash manual) for introducing me to ${parameter:-word} construct. For reference, this useful feature is 'parameter expansion' and it is in the POSIX spec: http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_06_02 > > -- > Alex >