Skip to content
Snippets Groups Projects
Commit cfaf1dca authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Why isn't XDG_CONFIG_DIRS set?

parent 5fb772f7
No related branches found
No related tags found
1 merge request!109Fix use of the iohk binary cache
...@@ -30,6 +30,7 @@ jobs: ...@@ -30,6 +30,7 @@ jobs:
command: | command: |
# Set XDG_CONFIG_DIRS to point at the source directory, so that nix # Set XDG_CONFIG_DIRS to point at the source directory, so that nix
# will pickup nix/nix.conf as a configuration file from there. # will pickup nix/nix.conf as a configuration file from there.
set -x
echo "export XDG_CONFIG_DIRS=$CIRCLE_WORKING_DIRECTORY" >> $BASH_ENV echo "export XDG_CONFIG_DIRS=$CIRCLE_WORKING_DIRECTORY" >> $BASH_ENV
# Get *our* source code. # Get *our* source code.
...@@ -63,6 +64,9 @@ jobs: ...@@ -63,6 +64,9 @@ jobs:
- run: - run:
name: "Building with Nix" name: "Building with Nix"
command: | command: |
echo "BASH_ENV: $BASH_ENV"
cat $BASH_ENV
echo
echo "XDG_CONFIG_DIRS: $XDG_CONFIG_DIRS" echo "XDG_CONFIG_DIRS: $XDG_CONFIG_DIRS"
nix-build \ nix-build \
-vvvv \ -vvvv \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment