diff --git a/.circleci/config.yml b/.circleci/config.yml
index 5a4be76880c89b7e5fd533117e1c1fa834ffbc09..4acf9361d7aefdd66174d09bdcefc4b78f517270 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 \