From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iKyWAhf7TGPkhQEAbAwnHQ (envelope-from ) for ; Mon, 17 Oct 2022 08:49:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UE+uAhf7TGONZwEA9RJhRA (envelope-from ) for ; Mon, 17 Oct 2022 08:49:59 +0200 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 8FA4C3A72C for ; Mon, 17 Oct 2022 08:49:58 +0200 (CEST) Received: from localhost ([::1]:58670 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okJwh-0007Yh-GP for larch@yhetil.org; Mon, 17 Oct 2022 02:49:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okJvq-0007Ug-Ua for guix-patches@gnu.org; Mon, 17 Oct 2022 02:49:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47893) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okJvq-0003qn-Mi for guix-patches@gnu.org; Mon, 17 Oct 2022 02:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okJvq-0007Xl-3f; Mon, 17 Oct 2022 02:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58579] [PATCH 0/4] Rewrite grafts using gexps Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: 58419@debbugs.gnu.org, guix-patches@gnu.org Resent-Date: Mon, 17 Oct 2022 06:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58579 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58579@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 58419@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: 58419@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166598928228864 (code B ref -1); Mon, 17 Oct 2022 06:49:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Oct 2022 06:48:02 +0000 Received: from localhost ([127.0.0.1]:46971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okJur-0007VP-RH for submit@debbugs.gnu.org; Mon, 17 Oct 2022 02:48:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:45748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okJuq-0007V7-12 for submit@debbugs.gnu.org; Mon, 17 Oct 2022 02:48:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54076) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okJup-0006Vf-J9 for guix-patches@gnu.org; Mon, 17 Oct 2022 02:47:59 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41622) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okJuo-0003my-Kj; Mon, 17 Oct 2022 02:47:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=FDecWAkuzP9OTCLySe+F0GtOTZ1Z3AX+Y0BJc8Ma2Fg=; b=qh7RXT9tcwoNRE khX5UfQ7/jBcIvWgC7ioevM11MtRe+g73hb/NM+wYkuvmTCYo95/K5jXNLjjKvGSm14u3Fswep47P zsavNsdiT27FGo+93LLduVhguOwcYPqEjCsgRvfvUnulkiRi039MMqP/RxE7es7FY3O/7dag21pwG IAzuqu20vCKBR2yWPcy7ymJ5YMcIcVFmsfoSMhFMCFScJJkc8SNGNYw3mKTX5KmNFa5YXnDv3fkjv DwJ66AyB7ha9vcP0YluWisPEhtdvDiQWwa4N/yWn5E2o6kQAA3SMDmiaMvE6lJpGoUH91zgKwZ3lB HykfNuR6SWDpKibWBQgQ==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=42906 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okJuo-0004oL-70; Mon, 17 Oct 2022 02:47:58 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Mon, 17 Oct 2022 08:47:50 +0200 Message-Id: <20221017064750.2332-1-ludo@gnu.org> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" 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=1665989398; 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:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=FDecWAkuzP9OTCLySe+F0GtOTZ1Z3AX+Y0BJc8Ma2Fg=; b=CaPqp2gK8ZpktTK0Ekc3BquuudW4zfAq61wx1ZldNMBwbr8RaLbMxIhd6wZF+UC1eoNKPX ZtmtcId+Ob3BfWGxjuwSTL4kwXA6PDp0jRTFC2kaEgeKzLtUS6RrxLRqVfYzg+dOKcoyAC gVk2OcVujpjHoe6IDg244qSJFt1MXad61Fpx9KqU5oacyUS4OUfPjBa3Z0uhsVK6tUc7wQ rselPii0IZEGtdpzu0Ma7Ip8aEB8g+4MLWUIUHjcpQ/x+1brg3R7ysawkTds+9o7ir/s/K Xj/7OX57K8+EmI8lWILETFx7PJpl/rTmbREBmWtt/R52OPwayiXBmWrsNXb76A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665989398; a=rsa-sha256; cv=none; b=ZRsL6LMfW7iiIqiOHrR4RzT8ZSRbLEOXOQieOkzxvosp341r+wL9mFbmNV2Z6LxZ3yKAZ2 UAfjpcEKRx+EnQy1kSe2ZPriczeL/+Reohq+pVtY536iFrlvccFmwB2ogh2fL2kWDkDfJt trqUZCgsaY0ETUBm6G87Ch+8w4ihtwj1ISnxxmKt7XELeojkv7XJpjO91jp9pCq22VWymB A5xFS7aZu5iL5D5ABQCP4kGAAQ72uZAn/1VmX7PWID/kkXaTT5Wzc4Jktn5n3vfT7pVo6O 5X8PQiUpSCG0rBuT2kldex1Mh2WWITDxY4CyvtyQIKcXK2tOsTmoMHPEeJuMHQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=qh7RXT9t; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.62 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=qh7RXT9t; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8FA4C3A72C X-Spam-Score: -3.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: EO5UCTUuF4HJ Hello Guix! This patch series rewrites the guts of (guix grafts) using gexps (it was our last user of ‘build-expression->derivation’). Incidentally, it fixes . Feedback welcome! Ludo’. Ludovic Courtès (4): grafts: Move '%graft?' and related bindings to (guix store). Remove now unnecessary uses of (guix grafts). grafts: Rewrite using gexps. build-system/gnu: Disable grafts in 'python-build'. gnu/ci.scm | 3 +- guix/build-system/python.scm | 3 +- guix/gexp.scm | 1 - guix/grafts.scm | 144 +++++++++++++---------------------- guix/lint.scm | 1 - guix/scripts.scm | 1 - guix/scripts/archive.scm | 1 - guix/scripts/build.scm | 3 - guix/scripts/challenge.scm | 1 - guix/scripts/deploy.scm | 1 - guix/scripts/environment.scm | 1 - guix/scripts/home.scm | 1 - guix/scripts/pack.scm | 1 - guix/scripts/package.scm | 1 - guix/scripts/pull.scm | 1 - guix/scripts/size.scm | 1 - guix/scripts/system.scm | 1 - guix/scripts/weather.scm | 1 - guix/store.scm | 36 +++++++++ tests/builders.scm | 1 - tests/channels.scm | 1 - tests/cpan.scm | 2 +- tests/derivations.scm | 1 - tests/gexp.scm | 1 - tests/graph.scm | 1 - tests/guix-daemon.sh | 4 +- tests/monads.scm | 1 - tests/pack.scm | 1 - tests/packages.scm | 1 - tests/profiles.scm | 1 - tests/system.scm | 1 - 31 files changed, 93 insertions(+), 126 deletions(-) base-commit: 4dfaddfc44d3a05db7ad9720b8d8942aec3a1d7f prerequisite-patch-id: 7016063f1ce703056f764119e0c3c27692487caf -- 2.38.0