From 7cf3fc24bb7658916e50a213b855dac1a9e49ec3 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Fri, 14 Jan 2022 13:12:27 -0500
Subject: [PATCH] maybe this flavor

https://nixos.org/manual/nix/stable/command-ref/conf-file.html says there's a
--extra-substituters but nix-build seems to disagree.  maybe a nix/nix-build thing.
---
 .circleci/config.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.circleci/config.yml b/.circleci/config.yml
index 29d1d8e..5510b3b 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"
-- 
GitLab