diff --git a/guix/build/mix-build-system.scm b/guix/build/mix-build-system.scm index 51aa8bf0a5..f16fb1eaae 100644 --- a/guix/build/mix-build-system.scm +++ b/guix/build/mix-build-system.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2023 Pierre-Henry Fröhring -;;; Copyright © 2024 Igor Goryachev +;;; Copyright © 2024, 2026 Igorj Gorjaĉev ;;; Copyright © 2024, 2025 Giacomo Leidi ;;; ;;; This file is part of GNU Guix. @@ -97,6 +97,8 @@ See: https://hexdocs.pm/mix/1.15.7/Mix.html#module-environment-variables" (setenv "MIX_HOME" (getcwd)) (setenv "MIX_PATH" (or mix-path "")) (setenv "MIX_REBAR3" (string-append (assoc-ref inputs "rebar3") "/bin/rebar3")) + ;; Set deterministic compiler option. + (setenv "ERL_COMPILER_OPTIONS" "deterministic") ;; Add Erlang dependencies in Elixir's load path. (setenv "ERL_LIBS" (string-join (search-path-as-list