mirror of
https://github.com/luxfi/evm.git
synced 2026-09-24 00:27:44 +00:00
Signed-off-by: maru <[email protected]> Co-authored-by: Darioush Jalali <[email protected]>
19 lines
548 B
Bash
Executable File
19 lines
548 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
# Requires nix to be installed. The determinate systems installer is recommended:
|
|
#
|
|
# https://github.com/DeterminateSystems/nix-installer?tab=readme-ov-file#install-nix
|
|
#
|
|
|
|
# Load AVALANCHE_VERSION
|
|
SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
# shellcheck source=/scripts/versions.sh
|
|
source "$SCRIPT_DIR"/versions.sh
|
|
|
|
# Start a dev shell with the avalanchego flake
|
|
FLAKE="github:ava-labs/avalanchego?ref=${AVALANCHE_VERSION}"
|
|
echo "Starting nix shell for ${FLAKE}"
|
|
nix develop "${FLAKE}" "${@}"
|