From 303effad5c8d19da7cfbde14b8a94cf6575aa23f Mon Sep 17 00:00:00 2001 From: Mathieu Lirzin Date: Fri, 19 Jan 2018 00:38:34 +0100 Subject: [PATCH] tests: Let 'ltorder.sh' run successfully with Guix dynamic loader * t/ltorder.sh: Set GUIX_LD_WRAPPER_ALLOW_IMPURITIES environment variable to unlock the dynamic loader provided by GNU Guix. --- t/ltorder.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/t/ltorder.sh b/t/ltorder.sh index 74cd6ff5d..4cfdddf7a 100644 --- a/t/ltorder.sh +++ b/t/ltorder.sh @@ -52,6 +52,12 @@ $AUTOMAKE --add-missing ./configure --prefix="$(pwd)/inst" +# XXX: This is a workaround for a purity mechanism implemented by GNU Guix. +# For more details see +# . +GUIX_LD_WRAPPER_ALLOW_IMPURITIES=1 +export GUIX_LD_WRAPPER_ALLOW_IMPURITIES + $MAKE run_make -E install grep 'has not been installed' stderr && exit 1 -- 2.11.4.GIT