Subject: [bug#71707] [PATCH 05/15] build-sysem/mix: Preserve code paths.

From: Igor Goryachev <[email-masked]>
Date: Fri, 21 Jun 2024 22:01:11 +0300

* guix/build/mix-build-system.scm (build): Preserve code paths.

Change-Id: Ia43e79385a536de98ae026893e1bda2a8416562c
---
 guix/build/mix-build-system.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/guix/build/mix-build-system.scm b/guix/build/mix-build-system.scm
index fe2e36d184..cb832adae4 100644
--- a/guix/build/mix-build-system.scm
+++ b/guix/build/mix-build-system.scm
@@ -102,7 +102,8 @@ (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)
-- 
2.45.1