diff --git a/.circleci/config.yml b/.circleci/config.yml
index 29d1d8e6b1b46fe73f8298ea47432942070155f3..5510b3bd7baddbb093a02d6adf3e8bceeffea5eb 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -71,8 +71,8 @@ jobs:
             nix-build \
               -vvvv \
               --debug \
-              --extra-substituters="${EXTRA_SUBSTITUTERS}" \
-              --extra-trusted-public-keys"${EXTRA_TRUSTED_PUBLIC_KEYS}" \
+              --option extra-substituters "${EXTRA_SUBSTITUTERS}" \
+              --option extra-trusted-public-keys "${EXTRA_TRUSTED_PUBLIC_KEYS}" \
               -j 4 \
               ./nix/ \
               -A PaymentServer.components.exes."PaymentServer-exe"
@@ -81,8 +81,8 @@ jobs:
           name: "Building Tests"
           command: |
             nix-build \
-              --extra-substituters="${EXTRA_SUBSTITUTERS}" \
-              --extra-trusted-public-keys"${EXTRA_TRUSTED_PUBLIC_KEYS}" \
+              --option extra-substituters "${EXTRA_SUBSTITUTERS}" \
+              --option extra-trusted-public-keys "${EXTRA_TRUSTED_PUBLIC_KEYS}" \
               -j 4 \
               ./nix/ \
               -A PaymentServer.components.tests."PaymentServer-tests"