2024-03-26 17:25:27 +01:00
|
|
|
# shellcheck shell=bash
|
|
|
|
source_env_if_exists .envrc.local
|
2024-03-26 23:40:09 +01:00
|
|
|
# TODO: `use flake .#native-clangStdenvPackages` on macOS?
|
2024-03-26 17:25:27 +01:00
|
|
|
use flake ".#${LIX_SHELL_VARIANT:-default}" "${LIX_SHELL_EXTRA_ARGS[@]}"
|
2024-03-26 23:40:09 +01:00
|
|
|
export MAKEFLAGS="$MAKEFLAGS -e"
|
|
|
|
if [[ -n "$NIX_BUILD_CORES" ]]; then
|
|
|
|
export MAKEFLAGS="$MAKEFLAGS -j $NIX_BUILD_CORES"
|
|
|
|
fi
|
|
|
|
export GTEST_BRIEF=1
|