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 2N3jFfesm2VfCAEAkFu2QA (envelope-from ) for ; Mon, 08 Jan 2024 09:06:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id KOKVD/esm2UEWAAAe85BDQ (envelope-from ) for ; Mon, 08 Jan 2024 09:06:15 +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=1704701175; 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=QOu6veOT5iXbDpxqgmud8JtWPuugmHjPNMjtAZ3MKPo=; b=dhcFbWtC/5H7U3m/rghA/SCX3wQSicgUNcayRd3mV63M5jwi07HltD86ucBEYsdRbHG3// 6xNdVJ0gZomi4oEQ3AdziJX2kuGAMy4xdg1rG2H5/Opf1fXUEfWOP9voLD4tSvQ4eijZcB 1LQ/QESdYj0O6u26v0wBydfSiedlDt3DZhKQvu179h5cIoUEKe9uqp8G/BPwsxTy+44JAQ bVWu/ELo3lvJihqAlEZg4cF/eMbZLkbr4LGg5AdKdGqeESZBFYtrIW7afeec4lSe7+HLMu TKUw5gSAK0kkJCZZfEZAWTtmhRxtd0QT28LYc0Y4L94QsJ5l7j5RSA9ZJe2bCA== 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704701175; a=rsa-sha256; cv=none; b=kGNQMBd0i3+vE6XSzs9WIuBifDXqvFBst8fWGFMcPdgKOkbXIhq54bGPnpZEClOZnUN35X nLTb4P2nKRIZlgb8PIr5PK48ZA6b6c93GMgPFizszOBX24TWH+KtqTxHFLAme4jHQvTgJ1 r8yih/66BM/cMkQlGpyhHYhycVu6Irp95GjWR+3GTkf98oOtlFhZvnxHTpKq54Y7J8LC80 g+do8K02Ap0Hh83ahEFIdTeZaVh7mIbTxzwYYtJotdn1ZsfLW2wvJWhrwmfDITyb1eSDvK qnPqp912ncz8O1thaQxdboFU+se2DPMCY+xTka3mw+p0ZjKAqeJkozSBThDLog== 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 F0747151E5 for ; Mon, 8 Jan 2024 09:06:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMkdJ-0003YP-16; Mon, 08 Jan 2024 03:05:17 -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 1rMkdG-0003Vt-VO for guix-patches@gnu.org; Mon, 08 Jan 2024 03:05:15 -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 1rMkdG-00033P-N3 for guix-patches@gnu.org; Mon, 08 Jan 2024 03:05:14 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rMkdM-00085c-N0 for guix-patches@gnu.org; Mon, 08 Jan 2024 03:05:20 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68315] [PATCH 38/48] build-system: rebar: Redefine rebar-build. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Jan 2024 08:05:20 +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.170470109930685 (code B ref 68315); Mon, 08 Jan 2024 08:05:20 +0000 Received: (at 68315) by debbugs.gnu.org; 8 Jan 2024 08:04:59 +0000 Received: from localhost ([127.0.0.1]:35012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMkd0-0007yo-Nf for submit@debbugs.gnu.org; Mon, 08 Jan 2024 03:04:59 -0500 Received: from 18.mo550.mail-out.ovh.net ([46.105.35.72]:50975) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMkcu-0007xb-A0 for 68315@debbugs.gnu.org; Mon, 08 Jan 2024 03:04:53 -0500 Received: from director2.ghost.mail-out.ovh.net (unknown [10.108.9.101]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 220892A089 for <68315@debbugs.gnu.org>; Mon, 8 Jan 2024 08:04:45 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-tl55r (unknown [10.110.168.247]) by director2.ghost.mail-out.ovh.net (Postfix) with ESMTPS id A3BB01FEBB; Mon, 8 Jan 2024 08:04:44 +0000 (UTC) Received: from ngraves.fr ([37.59.142.106]) by ghost-submission-6684bf9d7b-tl55r with ESMTPSA id YtZRJZysm2UjPBYATTcdgg (envelope-from ); Mon, 08 Jan 2024 08:04:44 +0000 X-OVh-ClientIp: 81.67.146.208 Date: Mon, 8 Jan 2024 09:03:10 +0100 Message-ID: <20240108080350.1665-38-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: 12438097749862834914 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedrvdehiedghedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfgggtgfesthekredtredtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvleelgeeffeetleekueegvdfhtedvueffiefhkedtleejkeduveelgfdufeduleenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddruddtieenucevlhhushhtvghrufhiiigvpeeknecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieekfeduheesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheehtddpmhhouggvpehsmhhtphhouhht 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.79 X-Spam-Score: -6.79 X-Migadu-Queue-Id: F0747151E5 X-TUID: lbBujj3s1Qi/ * guix/build-system/rebar.scm (rebar-build): Monadic procedure returns a gexp instead of a derivation. Change-Id: I7d4a29cfc1bedaa762e25deed41cc0eb802abb9f --- guix/build-system/rebar.scm | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/guix/build-system/rebar.scm b/guix/build-system/rebar.scm index de1294ec3f..8acaf49fc2 100644 --- a/guix/build-system/rebar.scm +++ b/guix/build-system/rebar.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2016 Ricardo Wurmus ;;; Copyright © 2020 Hartmut Goebel +;;; Copyright © 2024 Nicolas Graves ;;; ;;; This file is part of GNU Guix. ;;; @@ -139,15 +140,8 @@ (define builder search-paths)) #:inputs %build-inputs))))) - (mlet %store-monad ((guile (package->derivation (or guile (default-guile)) - system #:graft? #f))) - ;; Note: Always pass #:graft? #f. Without it, ALLOWED-REFERENCES & - ;; co. would be interpreted as referring to grafted packages. - (gexp->derivation name builder - #:system system - #:target #f - #:graft? #f - #:guile-for-build guile))) + (mbegin %store-monad + (return builder))) (define rebar-build-system (build-system -- 2.41.0