From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id KLdKNeGsm2XqQwEAkFu2QA (envelope-from ) for ; Mon, 08 Jan 2024 09:05:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id KIJoLuGsm2XaLwAAe85BDQ (envelope-from ) for ; Mon, 08 Jan 2024 09:05:53 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704701153; h=from:from:sender:sender:reply-to: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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=PNv9TC6KgB1VaViV+HIINrvyvEMCNczLHQEJ0199ku0=; b=SgAckZhwl81FID/jVNIZK+EkDiaJ4rP7MJGeGOzHMsZi2CGYLzz686XGs/2IAKq6jzadR7 LE8xNMZ+ZJ156PNCE6xsgZFzXiGt7XBHcLjeEXKfzYu27rTrjyIkY9mN9jlibX2B6tgue/ dUdBqUK1YHtbDbJJOWULXzO3pzakuQOZYsWNsh/iJOspbz9ghXghXBH+p/VosQ13iPqWaq 1uruBAJH7YrVQ15YlCliqE4WUlTMFE4kzpZmY/ykGNa2KG4uT91gwQp2yd+SxawUcsiC/n oUBDkUgnhXTSlS8to9h5a40fXO/ZAVI87BrJyuEsnU09et6a1w7VeENsKhJ08A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704701153; a=rsa-sha256; cv=none; b=RNn+kxYkFuIZMRV2zitMKcUbgCI/2vTn1ijeTWOKiG0RvWJoltQWhFzc/AqHOos3adwbx0 joGpeX0dAP7kMPxXchEOz3JTQo16D9EBp4xNJsAWnKRuPShKPOMJ0nmEmSSEbUmSjTR5Wq A38q1axZgQp6OL2VHKOE1UxDVDCVxl5i+uATtV85wJCsvBHur74rVjgEKaz+EY6WjNpJDj 6iwZAz1JJP9jruvIxMLIJCQiY3STSaS0vs8WAVxShX0OIzO25K4KvYiu6gAHhsLKmyFJ8C d8IJdFoipTIqhSwHAZNFILnxkq7NhSkYblY9uf0dD0qmCy6rlpg0qYI8GlK8OA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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"; dmarc=pass (policy=none) header.from=gnu.org 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 A91FF179FE for ; Mon, 8 Jan 2024 09:05:53 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMkdF-0003SN-1t; Mon, 08 Jan 2024 03:05:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rMkdC-0003Pm-Ut for guix-patches@gnu.org; Mon, 08 Jan 2024 03:05:10 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rMkdC-00031j-Lp for guix-patches@gnu.org; Mon, 08 Jan 2024 03:05:10 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rMkdI-00084T-N9 for guix-patches@gnu.org; Mon, 08 Jan 2024 03:05:16 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68315] [PATCH 29/48] build-system: mix: Redefine mix-build. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Jan 2024 08:05:16 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68315 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68315@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 68315-submit@debbugs.gnu.org id=B68315.170470108330540 (code B ref 68315); Mon, 08 Jan 2024 08:05:16 +0000 Received: (at 68315) by debbugs.gnu.org; 8 Jan 2024 08:04:43 +0000 Received: from localhost ([127.0.0.1]:34984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMkcl-0007wQ-HH for submit@debbugs.gnu.org; Mon, 08 Jan 2024 03:04:43 -0500 Received: from 17.mo581.mail-out.ovh.net ([188.165.35.227]:60439) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMkce-0007v8-JN for 68315@debbugs.gnu.org; Mon, 08 Jan 2024 03:04:37 -0500 Received: from director2.ghost.mail-out.ovh.net (unknown [10.109.139.43]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 4BD29264ED for <68315@debbugs.gnu.org>; Mon, 8 Jan 2024 08:04:29 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-2zn7b (unknown [10.110.96.131]) by director2.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 1A9611FD34; Mon, 8 Jan 2024 08:04:29 +0000 (UTC) Received: from ngraves.fr ([37.59.142.101]) by ghost-submission-6684bf9d7b-2zn7b with ESMTPSA id t/X1A42sm2Xv0AAA0aFprA (envelope-from ); Mon, 08 Jan 2024 08:04:29 +0000 X-OVh-ClientIp: 81.67.146.208 Date: Mon, 8 Jan 2024 09:03:01 +0100 Message-ID: <20240108080350.1665-29-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240108080350.1665-1-ngraves@ngraves.fr> References: <20240108080350.1665-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 12433594146998575842 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedrvdehiedghedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfgggtgfesthekredtredtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvleelgeeffeetleekueegvdfhtedvueffiefhkedtleejkeduveelgfdufeduleenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddruddtudenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieekfeduheesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekuddpmhhouggvpehsmhhtphhouhht 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.81 X-Spam-Score: -6.81 X-Migadu-Queue-Id: A91FF179FE X-Migadu-Scanner: mx12.migadu.com X-TUID: O20g1ek743w9 * guix/build-system/mix.scm (mix-build): Monadic procedure returns a gexp instead of a derivation. Change-Id: I8a31c048d1458ece0f906023763b4585502f7710 --- guix/build-system/mix.scm | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/guix/build-system/mix.scm b/guix/build-system/mix.scm index 1b04053d70..5e1ac43578 100644 --- a/guix/build-system/mix.scm +++ b/guix/build-system/mix.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2023 Pierre-Henry Fröhring +;;; Copyright © 2024 Nicolas Graves ;;; ;;; This file is part of GNU Guix. ;;; @@ -130,15 +131,8 @@ (define builder #:inputs %build-inputs))))) - (mlet %store-monad ((guile (package->derivation (or guile (default-guile)) - system - #:graft? #f))) - (gexp->derivation name - builder - #:system system - #:graft? #f ;consistent with 'gnu-build' - #:target #f - #:guile-for-build guile))) + (mbegin %store-monad + (return builder))) (define* (lower name #:key -- 2.41.0