From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8HSWNghwBWLoDwAAgWs5BA (envelope-from ) for ; Thu, 10 Feb 2022 21:05:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id ODd1LwhwBWJ4AQAAG6o9tA (envelope-from ) for ; Thu, 10 Feb 2022 21:05:28 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CDC502BC72 for ; Thu, 10 Feb 2022 21:05:26 +0100 (CET) Received: from localhost ([::1]:36218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIFgz-0005i1-VG for larch@yhetil.org; Thu, 10 Feb 2022 15:05:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51764) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIFgd-0005hk-7X for bug-guix@gnu.org; Thu, 10 Feb 2022 15:05:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35065) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nIFgc-0006G1-TD for bug-guix@gnu.org; Thu, 10 Feb 2022 15:05:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nIFgc-00025u-L5 for bug-guix@gnu.org; Thu, 10 Feb 2022 15:05:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53915: No way of replacing an input in modify-input syntax structure but keep all the outputs Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 10 Feb 2022 20:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53915 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Gordon Quad , 53915@debbugs.gnu.org Received: via spool by 53915-submit@debbugs.gnu.org id=B53915.16445234477973 (code B ref 53915); Thu, 10 Feb 2022 20:05:02 +0000 Received: (at 53915) by debbugs.gnu.org; 10 Feb 2022 20:04:07 +0000 Received: from localhost ([127.0.0.1]:57195 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIFfj-00024X-B4 for submit@debbugs.gnu.org; Thu, 10 Feb 2022 15:04:07 -0500 Received: from mail-ed1-f65.google.com ([209.85.208.65]:35426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIFfh-000240-WF for 53915@debbugs.gnu.org; Thu, 10 Feb 2022 15:04:06 -0500 Received: by mail-ed1-f65.google.com with SMTP id f17so12922475edd.2 for <53915@debbugs.gnu.org>; Thu, 10 Feb 2022 12:04:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=oY2t8NfsFVcSqbG19wz3iWmZvzf+GIn8t6k6MXRQCdo=; b=L4oMTcqdk0V7dvpSN1bjvDbmp000RV8oKbeFY7SZo8IP9kTVyyCeB2dcVDp1SLo0gv biNvkLndKtaK97Fpw8Z9bAyU/TMPuk84NQadhA4Nm40KA5g4orm0/9VzOs+YpnMxgipr YuHg2gLpsXfHUFFPg9vQsn5ubSEVMUHQKxQG4wMVy6prwCieTSFlD9+o1yYR65AliBBT MgBYqCMky53QlqEHdW+HCwmJEnrTZOVfkCb/Pan9f5ym5pGgYnbXDK10ZVDgqe0RcsaT 0s978K0hoJkqajYo+Z4j9B8/iNAK+IM4oZdw22KO4fHBJG/8d60WOrE4i2pbIWCVZAqA bjeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=oY2t8NfsFVcSqbG19wz3iWmZvzf+GIn8t6k6MXRQCdo=; b=uR++gxcDZH/D/wcgeigY6B0vFZeheWeq/va7z5PuLvWu9uM7NI5vhawx8LTImuIM7a /3B2FugOSf3h2GnmWfsdPE7/O5xvJpNSPR9c/Ts8TVi+yPGz7zybTQPnWfgQUm4E2R7k FB4nW9jMSzbLm3BIu42JhzXNz2Nb/qPF/SYq6RRxKHHMhTsYw95gOdNdXFRdtwL+XSbR 9sfK0/0J7wANauTQxe0r26rKbISGxPrq348ZFaj9IWU62DAyc3hFl9YntlyIcuf3tn8E 9p/8VZuS+MWOsoLMinPmetsYtYA2aok0B/gTCCn0w/IhRVitWaigh0pMZUiMqSfgxdhk wIRQ== X-Gm-Message-State: AOAM530vezk89YTyPEIdN0NE+1ieQLUdCKagWoW53hzGt74SHnBRM7KT 5iyBu/5/WI7K/ydxDYcFPec= X-Google-Smtp-Source: ABdhPJy82x5gyNjLrngYfFyKJLJNuaHENfaA3+aoFjM48CmQhnFKtjU6o3prnTSN/4aX8bRLJMESSw== X-Received: by 2002:a05:6402:12d5:: with SMTP id k21mr10219809edx.138.1644523439651; Thu, 10 Feb 2022 12:03:59 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id bt6sm7419839ejb.222.2022.02.10.12.03.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Feb 2022 12:03:59 -0800 (PST) Message-ID: <0dac06dbcb20fa32baf87df3460ebc102652f31e.camel@gmail.com> From: Liliana Marie Prikler Date: Thu, 10 Feb 2022 21:03:56 +0100 In-Reply-To: <20220210100941.nwmrbgm7qt34dv3v@citadel.info> References: <20220210100941.nwmrbgm7qt34dv3v@citadel.info> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644523526; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=oY2t8NfsFVcSqbG19wz3iWmZvzf+GIn8t6k6MXRQCdo=; b=DGGcGEqI5YVrDC09a/RVF/4pcYof02VimUwR999W1wjTBAcHiqzCFxzlMG+4iQI0hhTd/i sCWnP16U6Z8pwIVAM964hLvrJ66l2gt7mEKQMCzS+HDOV7+og3SaBU6Q8tLFE4TPdFf1wz FT9BYR8FGOMhYbxNvWYWIO/aq9fPIQ+P/gTDgPCBKtd7xa3QfTDIxPBErJkAOM6yRIGRLy sNhA6f/fGz1j0OS+LXzJS72AlK0/zVpPL70oWSfXIj1vCREkxzPZkVFFsLapGA6MNnrnRD bsJqMYz99OjphJmjPZyI5A9o2xvowHxkgfyNsU8vZyd3ikaCrKzmD4ic0fbfew== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644523526; a=rsa-sha256; cv=none; b=GxVWluOTyJvx9MfSgwxCEf3IXZB5fu6q5dHScNRLcwXSpkEtNZ6/pHz7b+kBjbfu7YbSLM tilws1/rLrqFDAuxUsjDr6vKf+UeNOWUgcnk6cmPIzy2Z/2pKXUbT7zVjNJcdtVPW++KXN mXb74IDHzykfTlzY+LVtQw9hw/hMW1oT1tlGt+z2b/BCna5Kv8WR9NUf9Gkq3G9s1OdAiz dbvJTXJjoS0hl50j4MIL6lW1f8zoWCSNfEn0DfDXcrm47X5Kb7MUakFIFve0C3pBAyCQEX nnFpcibdib0aNwma72Da4uHTIc1FcOQZVFspzTtg0378GhPtXsWqS8nKX5NUPw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=L4oMTcqd; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.53 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=L4oMTcqd; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: CDC502BC72 X-Spam-Score: -2.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: YXDVFXQHwWm0 Am Donnerstag, dem 10.02.2022 um 10:09 +0000 schrieb Gordon Quad: > poppler package include glib as a native-input with "bin" output. > > If I am doing the following: > > (package/inherit poppler >     (native-inputs >         (modify-inputs (package-native-inputs poppler) >             (replace "glib" my-glib)))) > > poppler's build will fail becuase replace syntax will replace "glib" > package erasing its outputs. I can specify output explicitly by doing > (replace "glib" (my-glib "bin")) in this case, but that makes mass > input modification difficult (e.g. if i want to replace all instances > of glib to my-glib). I think the problem here is that "glib" serves double duty as both "glib:out" and "glib:bin". IMHO we should probably add the output argument to the label (with a colon separator, of course) if one is given. I'm CC'ing Ludo because he implemented the feature and might know more than me regarding its design. Cheers