From 73d96700819e85ac3e7c647e4dbbc95d40434b4a Mon Sep 17 00:00:00 2001 From: Florian Sesser <florian@private.storage> Date: Mon, 5 Feb 2024 14:52:10 +0000 Subject: [PATCH] Fix deployment script: Add experimental nix-command feature (and explicitly allow impurity) --- ci-tools/update-grid-servers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci-tools/update-grid-servers b/ci-tools/update-grid-servers index 734ce6f3..7d2debb3 100755 --- a/ci-tools/update-grid-servers +++ b/ci-tools/update-grid-servers @@ -79,7 +79,7 @@ update_grid_nodes() { # Find the names of all hosts that belong to this grid. This list includes # one extra string, "network", which is morph configuration stuff and we need # to filter out later. - nodes=$(nix eval --json "(builtins.concatStringsSep \" \" (builtins.attrNames (import $grid_dir/grid.nix)))" | jp --unquoted @) + nodes=$(nix --extra-experimental-features nix-command eval --impure --json "(builtins.concatStringsSep \" \" (builtins.attrNames (import $grid_dir/grid.nix)))" | jp --unquoted @) # Tell every server in the network to update itself. for node in ${nodes}; do -- GitLab