diff mbox series

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

Message ID 7e269e40ecfea13e9444b1ca7428e293730d1758.1718992389.git.igor@goryachev.org
State New
Headers show
Series Updates and fixes for elixir and dependents | expand

Commit Message

Igor Goryachev June 21, 2024, 7:01 p.m. UTC
* 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 mbox series

Patch

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)