From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ED2nKYPec2HHFwAAgWs5BA (envelope-from ) for ; Sat, 23 Oct 2021 12:05:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iFFlJYPec2GEcAAAB5/wlQ (envelope-from ) for ; Sat, 23 Oct 2021 10:05:55 +0000 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 6BE3755EB for ; Sat, 23 Oct 2021 12:05:55 +0200 (CEST) Received: from localhost ([::1]:36104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1meDuU-0006ih-HM for larch@yhetil.org; Sat, 23 Oct 2021 06:05:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34144) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meDtZ-0006iY-0Y for guix-devel@gnu.org; Sat, 23 Oct 2021 06:04:57 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:56282) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1meDtW-0006r7-7T for guix-devel@gnu.org; Sat, 23 Oct 2021 06:04:56 -0400 Received: by mail-wm1-x335.google.com with SMTP id v127so5304370wme.5 for ; Sat, 23 Oct 2021 03:04:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beadling-co-uk.20210112.gappssmtp.com; s=20210112; h=references:user-agent:from:to:cc:subject:in-reply-to:message-id :date:mime-version:content-transfer-encoding; bh=2Fdzvb6XhY+uDOoyoCncbpEckjo+jnsa6V2333LYfmM=; b=gnV5pc0tTQAmWFu1sM9EbXfsHHYKcZCTc6Fl+wlf7ydX6Oxnt3yNZREnUrUbkAzBYc 2JoBrrs71JwbMmzr9BwE/GmDEpNjN6QuN9mO/8UPPwEZKxnfyAmJTMnStdNZQ+D+h/Sx nUp56BNA4OIA46qat4W9zhQui+BAlpQT2nwAzeB2ilGvghhN611ruY4ah/tFKVFzAEfv E56vUHpXZjZAFeM6H4GsXvz8ZE0JddlX1H9prBqZVoxgduQ4nS2BOWLmAxRx/UZScrJp XGt1gL/iuczEa3c0dTSAXNcmJnOfERtaOG92FBXjpXWPtpDpNpz6/c6iCfyQmDd4qVZI lbzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:message-id:date:mime-version:content-transfer-encoding; bh=2Fdzvb6XhY+uDOoyoCncbpEckjo+jnsa6V2333LYfmM=; b=wCg9bMbEPD9oRXlJrtzJC2JoaxGCf54w0tiUfbwDfxEtCMUe6BR9OgIO81Za+nN0ez fuxEw+LYjhV6AB15GfVQtArcl67Nmgya+JdQ9KSMSNoAcGsQc+UZBlCF1ubFFIpiG1Fn TP8hVW+2Jq3mTXNy3+KwdJ4M8W+9bZ6/bZmF9GbQ/74j/Iw2AUmoDColPVLlzU+JrPuS xcvuDeB1ytIOQtUCKNu+ppvrbnysgRdTdLK3/sEZhaX7BKtJxVglK5EppNHYufi3jiuO n9RQmhb/N8kjSCiyb383q1c8fNKkaYcEz6wEnQu+B/b07979vnQG3Qu2aFUjbcoyWTdd ZFsg== X-Gm-Message-State: AOAM5328/lY6aKlmvCJzxaU3KpUuzfDj19jGJ9AsoWeNAArWq6KB/0UE 8yEcTXG8Cn1YP8i9wqMOQalymsT7EdhTGAme X-Google-Smtp-Source: ABdhPJzknjKlODIEmWzY/K8joZBnmSNwJua+6IzOn2zt9WR0nQ3MI2RxEslIrbeZHH7BQwB7LwP2Pw== X-Received: by 2002:a1c:9a54:: with SMTP id c81mr13052912wme.95.1634983491696; Sat, 23 Oct 2021 03:04:51 -0700 (PDT) Received: from xps13 (host-92-10-211-105.as13285.net. [92.10.211.105]) by smtp.gmail.com with ESMTPSA id j7sm13402146wmq.32.2021.10.23.03.04.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Oct 2021 03:04:50 -0700 (PDT) References: <87cznzbhss.fsf@beadling.co.uk> <87sfwuw2kr.fsf@gnu.org> User-agent: mu4e 1.4.15; emacs 27.2 From: Phil To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: --with-source version not honored? In-reply-to: <87sfwuw2kr.fsf@gnu.org> Message-ID: <87mtn0f45b.fsf@beadling.co.uk> Date: Sat, 23 Oct 2021 11:04:48 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: none client-ip=2a00:1450:4864:20::335; envelope-from=phil@beadling.co.uk; helo=mail-wm1-x335.google.com X-Spam_score_int: 0 X-Spam_score: 0.0 X-Spam_bar: / X-Spam_report: (0.0 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634983555; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=2Fdzvb6XhY+uDOoyoCncbpEckjo+jnsa6V2333LYfmM=; b=HkpB0Z0pgi+sZiWzaeuDQiet8T4v4hnv+e0EJkRWGYdgi3Uz9zVMKZUd4iHZ0m4LjeVBWd cvSg3JQB2aRL4tFE6oWi93gqMndZd3XzJEwDMjz0n+f7OyeCGHkR5sV7e6YaiUk7UVDEIV u8nURY9m6NRty/TQe5UwSPHvgSUmdPgA+2hutso8tjA0vbwRQTffa7PnqO4tzUaFdFZ02r DW9oipVtEo8VQ1Ka17V+d8C9q8Nc2iAI1+NvIpKfzNZcOqKa+65J91Uka4Ltb05BMod2Ti XY+lW6JmeNrvX6P+/o1aw4/YEaZXbB3ZRPyxdkN0fn7R96Uv7MUVxSCEfmWl7g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634983555; a=rsa-sha256; cv=none; b=gs8JAWG9o60sge0dhHOzVL3sm3uKNHUoTkK3QlyBVIUgtTA02W/6/+NBYG73cCJQxDx8zE 9gBxtPInNtCmQuH8VROAKGVCFMt6fP20c4olV/CYySad8oSnYgOZ8sa0dhaA7JctmY5Kyd Y2UPtIa+WDGTW32w2qNwPpK+42ytN7pXooPBqxDtey+8jUSsOupOmnkM230zx1i/gRAggG UOHvlCmFiNOWm5O5EbZOUOkudUsp+Y9omx3cwNCgHVyNbHxGMnaOYLj6hMfSkEGjieSmE5 hxL6D2voYlfdfDTGJyDxi9v+qDOTqqVbK1rLxSZANuY1lKYdD2rR2PaDn7Ytmw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=beadling-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=gnV5pc0t; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: 1.07 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=beadling-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=gnV5pc0t; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 6BE3755EB X-Spam-Score: 1.07 X-Migadu-Scanner: scn0.migadu.com X-TUID: ygdv6BNNa2nt Hi, Ludovic Court=C3=A8s writes: > For historical reasons, =E2=80=98--with-source=E2=80=99 only applies to l= eaf packages, > unlike most (all?) other transformation inputs. Concretely, this works: Yes I think this is what I'm hitting. I want to reference a package using --with-source, but then immediately build an environment which feeds this source as an input into a 2nd package - forcing it to rebuild. My hack works but for propagated dependencies in python - but it's not a proper solution, and is brittle. I was going to try to improve it by writing a Guile script to avoid the overwriting - I can post any solution I find if I get something working. Currently I can only do 2 things at the command line it seems: 1. I can try package X without writing a package but only in isolation or as a leaf. 2. I can replace package X as a dependency of package Y, if I write a packa= ge for it. Being able to combine 1 and 2 at the command line - would be very useful. Cheers, Phil.