From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wCzZNKekg2bGhAEA62LTzQ:P1 (envelope-from ) for ; Tue, 02 Jul 2024 06:56:40 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id wCzZNKekg2bGhAEA62LTzQ (envelope-from ) for ; Tue, 02 Jul 2024 08:56:39 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=goryachev.org header.s=dkim header.b=L2nVwjuH; 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=1719903399; 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:dkim-signature; bh=vSa8DZbxIO5dM+e1j7TxofgVOyOZiV2qnw2TFyQ9bmg=; b=TaHF8E1nsXlyDrqAFaFxYMI0ckJve14VXKvpzXHnVt9s9VhbACzFN9c06qz/KMHZMA4IuT a4pp401KSv4YPg1h1JgnyNWcgnQdUOgsmEnOxIyUI3Qt5SUKJWVgCttaZWjeXPMqwNYqUb MU/xwc1UJJ7+MLPhLoJS22TXGSUWwgGjBkVwFwidefHlT4INnAX9CopogFjN1vih3zHF3F nAarEL4GReXbbvxaGpyXf3C6oON3FidQOtO8xtFFbWLnRtN7mpr2Y5F4oR5Gcezb7olLBC YMbARaCyCRk8OHuAaBpMlGR3CJGswUlU+e/vaPo57IuBdLlWmfJg2LVgBxknUQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=goryachev.org header.s=dkim header.b=L2nVwjuH; 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=1719903399; a=rsa-sha256; cv=none; b=FtzJxsR7lbuMd5f8bjov5928Uz/Gn7VxCIy8vMCubAuUR8Q6yw3rU10HtvXw1opj9ZQaqj kG9zIs5Pg2EJ+DwEWyg2iOUp+XS2MULAJgH9M4VMCjinxAlYkXvxy3SldwhBDpbgBRG7gb DY2zU7SlTLUlKu0gA0ZsxFYklsgWkAubj1T4pLsmmNAOq4BnXe/+b2JUwyG3ZA009W34UO XPzX32IgsSir6i6Sto8LJUNNfiDrxFvncgOZKgUIn/GY3Vt+osdvtzvVxED5MPcXWDcVa+ hWBMpF8UcJYlFQ1CrQ2a3+lNpY7JgoaIhnUipExNJVH4z+BPGm3dX1FLIDOXOw== 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 A27026CBD3 for ; Tue, 2 Jul 2024 08:56:39 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sOXR1-0000xM-DQ; Tue, 02 Jul 2024 02:56:15 -0400 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 1sOXQt-0000hm-Kg for guix-patches@gnu.org; Tue, 02 Jul 2024 02:56:07 -0400 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 1sOXQt-0001wR-8v for guix-patches@gnu.org; Tue, 02 Jul 2024 02:56:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sOXQu-0007Ck-6v for guix-patches@gnu.org; Tue, 02 Jul 2024 02:56:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71707] [PATCH v4 15/15] build-sysem/mix: Preserve code paths. Resent-From: Igor Goryachev Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 02 Jul 2024 06:56:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71707 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71707@debbugs.gnu.org Cc: Igor Goryachev , Andrew Tropin Received: via spool by 71707-submit@debbugs.gnu.org id=B71707.171990335627576 (code B ref 71707); Tue, 02 Jul 2024 06:56:08 +0000 Received: (at 71707) by debbugs.gnu.org; 2 Jul 2024 06:55:56 +0000 Received: from localhost ([127.0.0.1]:35721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOXQi-0007Ac-92 for submit@debbugs.gnu.org; Tue, 02 Jul 2024 02:55:56 -0400 Received: from mail.goryachev.org ([104.248.201.73]:48180) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOXQd-000788-De for 71707@debbugs.gnu.org; Tue, 02 Jul 2024 02:55:51 -0400 Received: from localhost.localdomain (213-91-248-88.ip.btc-net.bg [213.91.248.88]) by mail.goryachev.org (Postfix) with ESMTPSA id DEA3D120042; Tue, 2 Jul 2024 09:55:49 +0300 (MSK) Date: Tue, 2 Jul 2024 09:55:17 +0300 Message-ID: <077a3687610260bacc9972bc9956568795a69438.1719903317.git.igor@goryachev.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=goryachev.org; s=dkim; t=1719903350; bh=vSa8DZbxIO5dM+e1j7TxofgVOyOZiV2qnw2TFyQ9bmg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=L2nVwjuH86S6XrAelnw/LkatZyOmUXLAVXVxNhIU6m11fUxlDCRLbruYw9fxCjjtstqd8zZk05iLFPcT/KhO+g8MIgT+awKg7PrxRa+7O0rtgmYZ7WCauiR+O/k6X4ehITx1x3EvXDbyivOcRUFBYxFGVxocgu3ECUYODtmtx9g= 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: Igor Goryachev X-ACL-Warn: , Igor Goryachev via Guix-patches From: Igor Goryachev 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-Spam-Score: -5.38 X-Migadu-Queue-Id: A27026CBD3 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -5.38 X-TUID: tkR6pqxryWX/ * guix/build/mix-build-system.scm (build): Preserve code paths. Change-Id: Ia43e79385a536de98ae026893e1bda2a8416562c --- guix/build/mix-build-system.scm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/guix/build/mix-build-system.scm b/guix/build/mix-build-system.scm index fe2e36d184..0b021da791 100644 --- a/guix/build/mix-build-system.scm +++ b/guix/build/mix-build-system.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2023 Pierre-Henry Fröhring +;;; Copyright © 2024 Igor Goryachev ;;; ;;; This file is part of GNU Guix. ;;; @@ -102,13 +103,17 @@ (define* (build #:key mix-environments #:allow-other-keys) "Builds the Mix project." (for-each (lambda (mix-env) (setenv "MIX_ENV" mix-env) - (invoke "mix" "compile" "--no-deps-check")) + (invoke "mix" "compile" "--no-deps-check" + "--no-prune-code-paths")) mix-environments)) (define* (check #:key (tests? #t) #:allow-other-keys) "Test the Mix project." (if tests? - (invoke "mix" "test" "--no-deps-check") + (begin + (setenv "MIX_ENV" "test") + (invoke "mix" "do" "compile" "--no-deps-check" "--no-prune-code-paths" "+" + "test" "--no-deps-check")) (format #t "tests? = ~a~%" tests?))) (define* (remove-mix-dirs . _) -- 2.45.2