[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#42735] [PATCH] pre-inst-env: don't use GUIX_PACKAGE_PATH

From: Denis 'GNUtoo' Carikli
Subject: [bug#42735] [PATCH] pre-inst-env: don't use GUIX_PACKAGE_PATH
Date: Fri, 7 Aug 2020 04:21:42 +0200

./pre-inst-env is supposed to use only the packages definitions that are in
the guix source tree and not the host packages.

However if GUIX_PACKAGE_PATH is set, it will use host packages as well.

In addition, when packages are defined in both the guix source tree and in
GUIX_PACKAGE_PATH, GUIX_PACKAGE_PATH will take the precedence and guix
will print warnings like that:
    guix build: warning: ambiguous package specification `libsamsung-ipc'
    guix build: warning: choosing libsamsung-ipc@0.1 from

That situation can happen when working in a new package in
GUIX_PACKAGE_PATH and then importing the package in the guix source tree to
add it upstream.

Signed-off-by: Denis 'GNUtoo' Carikli <>
 build-aux/ | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/build-aux/ b/build-aux/
index e0aa7fe868..698a7994fb 100644
--- a/build-aux/
+++ b/build-aux/
@@ -59,4 +59,8 @@ export NIX_HASH
+# Make sure we don't use local package definitions
 exec "$@"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]