From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: How to reference external program used in shell-scripts? Date: Fri, 09 Aug 2019 10:54:29 +0200 Message-ID: <87d0hewwfu.fsf@elephly.net> References: <72f51f57-3d1a-15f3-458b-cf036841c15a@crazy-compilers.com> <87pnlfww2k.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42602) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hw0fW-0006tq-Cb for guix-devel@gnu.org; Fri, 09 Aug 2019 04:54:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hw0fV-0003hi-Bo for guix-devel@gnu.org; Fri, 09 Aug 2019 04:54:38 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21348) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hw0fV-0003gI-3l for guix-devel@gnu.org; Fri, 09 Aug 2019 04:54:37 -0400 In-reply-to: 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: Hartmut Goebel Cc: guix-devel@gnu.org Hartmut Goebel writes: > I would expect in both cases, if a required package is updated, this > package will be updated, too. Right? Whenever an input is changed the package will be rebuilt, because we can=E2=80=99t know if the presence of a package will affect the build or no= t. In the case of patching references the presence of the input *will* affect the output (as a reference to the absolute file name will be recorded). In the case of propagated inputs it=E2=80=99s really the same, expect that the package will also be installed into the target profile. -- Ricardo