From e89ed2d0e74029d287f59b1c1572aaf8dc0a715b Mon Sep 17 00:00:00 2001 From: Ryan Lahfa Date: Sun, 8 Dec 2024 15:16:21 +0100 Subject: [PATCH] feat(hive): ensure purity of `cache-node.sh` Signed-off-by: Ryan Lahfa --- scripts/cache-node.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/cache-node.sh b/scripts/cache-node.sh index 70c4f46..7c1484f 100755 --- a/scripts/cache-node.sh +++ b/scripts/cache-node.sh @@ -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%\"}"