From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id EInQJ3G0dmZ38QAAqHPOHw:P1 (envelope-from ) for ; Sat, 22 Jun 2024 11:24:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id EInQJ3G0dmZ38QAAqHPOHw (envelope-from ) for ; Sat, 22 Jun 2024 13:24:33 +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=sAPiCjcM; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1719055473; 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=WIm+Du9xoHCpzDK+A+pLGrdnzlho7oMAAQCKLwHVj2Q=; b=dUQIuP4vTdwle9Po5SWfjVgho4C1FmY3k/p0P0PSeU5Eot4WR3xJw8ugc116Vi3xapbmpP MboHLmcoLJc4uBDZOdu0b49dHJszigX8F/tOZGnNujziGUnduST9teZiyFzZGT0xSv31GD UBqWxev9fefIVtOES5iMxlD1NHrixOe5A+iIyaDpVcKARmZ4ADv7gc4bSTjylzksTjXDFm SPrpRsYydiUaP0U2SX4oKiMmvdbCCS1ek62Rhd2ZM74IQJmw2vnF52eo1IkTgh1SCrMSEi EaNNs2Tt/08kLCWtsYG5QGcL5ETzCgFyldi0o/rKFctk6YDn6fjxStJD0NvO0g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1719055473; a=rsa-sha256; cv=none; b=tB2wjJjZ8MWZz2JWCy8F4vHheim7qtbmwVG7V1iX5x1eE0ymeDDoTRhAV9aEZHMBvNXP6W EISFCrlvHrrUKm/RxSrtpED3DkriAN2kaB5l0QUalrzqkyAeJLipNUR/TBSQBXBbq5Dx0o YBVwz2vv+brnjqLk2RTc3EPGU+z0td8RHd/UU+qZDsCx9CetwOBbu8+8w6+QiSDCWZqnkQ 59EDV2cDnfgV7jUh58PPzIztgzTNkw+W6lVv4r7cInG9b5RAIhNN447ubknzMTq1K2sWB8 Rr5IfGCZJORKb0mH2lf5S3GwP3ac+D3Alf0usK+pXtQACWOVK4Kg2mpiKINCeQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=goryachev.org header.s=dkim header.b=sAPiCjcM; 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" 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 7CCD56B2DE for ; Sat, 22 Jun 2024 13:24:33 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKyqi-0005Qj-Fn; Sat, 22 Jun 2024 07:24:04 -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 1sKyqh-0005QK-2M for guix-patches@gnu.org; Sat, 22 Jun 2024 07:24:03 -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 1sKyqg-0000WW-Ql for guix-patches@gnu.org; Sat, 22 Jun 2024 07:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sKyqg-0004Sv-HB for guix-patches@gnu.org; Sat, 22 Jun 2024 07:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71707] [PATCH v3 1/2] build-sysem/mix: Preserve code paths. Resent-From: Igor Goryachev Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 22 Jun 2024 11:24:02 +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.171905540717100 (code B ref 71707); Sat, 22 Jun 2024 11:24:02 +0000 Received: (at 71707) by debbugs.gnu.org; 22 Jun 2024 11:23:27 +0000 Received: from localhost ([127.0.0.1]:44588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKyq6-0004Ri-P7 for submit@debbugs.gnu.org; Sat, 22 Jun 2024 07:23:27 -0400 Received: from mail.goryachev.org ([104.248.201.73]:44640) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKyq5-0004RQ-2h for 71707@debbugs.gnu.org; Sat, 22 Jun 2024 07:23:25 -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 6627A1202E5; Sat, 22 Jun 2024 14:23:24 +0300 (MSK) Date: Sat, 22 Jun 2024 14:10:11 +0300 Message-ID: <1ca3f415ea8c19b105152099ea4265246ffab95b.1719054612.git.igor@goryachev.org> X-Mailer: git-send-email 2.45.1 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=1719055404; bh=WIm+Du9xoHCpzDK+A+pLGrdnzlho7oMAAQCKLwHVj2Q=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=sAPiCjcMR27AWQYqnOrReDANM4K4s7DB9VnKRHk3+kkh9J55NH2AIe57SD1CGN2Y6DSHTqXfn29X5ohYRrac7RwPMULbm+GalrZHrlJktvr7UkLtBOEbc4g73BVFylF2oYnnqCTptGWQgPPkX8EcSqc8B0yVC6rq2Pt7W2PZamQ= 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 7CCD56B2DE X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.86 X-Spam-Score: -6.86 X-TUID: IcMNeoIteC/N * 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.1