From cfaf1dca897ea577097e919756ba9edcadbb62f3 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Fri, 14 Jan 2022 12:43:36 -0500 Subject: [PATCH] Why isn't XDG_CONFIG_DIRS set? --- .circleci/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5a4be76..4acf936 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -30,6 +30,7 @@ jobs: command: | # Set XDG_CONFIG_DIRS to point at the source directory, so that nix # will pickup nix/nix.conf as a configuration file from there. + set -x echo "export XDG_CONFIG_DIRS=$CIRCLE_WORKING_DIRECTORY" >> $BASH_ENV # Get *our* source code. @@ -63,6 +64,9 @@ jobs: - run: name: "Building with Nix" command: | + echo "BASH_ENV: $BASH_ENV" + cat $BASH_ENV + echo echo "XDG_CONFIG_DIRS: $XDG_CONFIG_DIRS" nix-build \ -vvvv \ -- GitLab