#!/usr/bin/env sh

SPACK_VERSION=$(jq -r .spack.version ${STACK_CONFIG})
MOUNT_POINT=$(jq -r .stack.mount_point ${STACK_CONFIG})
STACK_LOCATION=${MOUNT_POINT}/${stack}
SPACK_SYSTEM_CONFIG_PATH=${STACK_LOCATION}/environment
STACK_CONFIG_PATH=${MOUNT_POINT}/stacks/${stack}
