Skip to content
Snippets Groups Projects
Commit 73d96700 authored by Florian Sesser's avatar Florian Sesser
Browse files

Fix deployment script: Add experimental nix-command feature (and explicitly allow impurity)

parent af9b9d76
2 merge requests!451Fix deployment script: Add experimental nix-command feature (and explicitly allow impurity),!447update production
Pipeline #5818 passed
......@@ -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
......
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