forked from DGNum/infrastructure
feat(hive): ensure purity of cache-node.sh
Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
This commit is contained in:
parent
e94d6fd16e
commit
e89ed2d0e7
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,9 @@ set -o nounset
|
|||
set -o pipefail
|
||||
shopt -s lastpipe
|
||||
|
||||
# Remove the `nixpkgs=` default input.
|
||||
export NIX_PATH="nixpkgs="
|
||||
|
||||
system_type="$(colmena eval -E "{ nodes, ... }: nodes.${BUILD_NODE}.config.deployment.systemType" --show-trace)"
|
||||
# Get rid of surrounding quotes.
|
||||
system_type="${system_type%\"}"
|
||||
|
|
Loading…
Reference in a new issue