From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Wingo Subject: question regarding substitute* and #t (was: Simplifications enabled by switching to 'invoke') Date: Wed, 24 Jan 2018 13:14:38 +0100 Message-ID: <87372v8ndd.fsf_-_@igalia.com> References: <20180124010802.18874.3012@vcs0.savannah.gnu.org> <20180124010803.590AF2068F@vcs0.savannah.gnu.org> <874lnbzck5.fsf_-_@netris.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eeJxg-0005EF-B8 for guix-devel@gnu.org; Wed, 24 Jan 2018 07:15:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eeJxc-00087H-CK for guix-devel@gnu.org; Wed, 24 Jan 2018 07:15:28 -0500 Received: from pb-sasl1.pobox.com ([64.147.108.66]:59958 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eeJxc-0007dY-8P for guix-devel@gnu.org; Wed, 24 Jan 2018 07:15:24 -0500 In-Reply-To: <874lnbzck5.fsf_-_@netris.org> (Mark H. Weaver's message of "Wed, 24 Jan 2018 07:06:02 -0500") 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" To: Mark H Weaver Cc: guix-devel@gnu.org Hi! On Wed 24 Jan 2018 13:06, Mark H Weaver writes: > + ;; Install to the right directory > + (substitute* '("Makefile" > + "Qsci/Makefile") > + (("\\$\\(INSTALL_ROOT\\)/gnu/store/[^/]+") > + (assoc-ref outputs "out"))) > + #t))))) I guess once we switch over all instances of "system" and "system*" to use invoke, does that mean we will also be able to remove these vestigial "#t" returns? Andy