nix-super/tests/compute-levels.sh

8 lines
200 B
Bash
Raw Normal View History

source common.sh
if [[ $(uname -ms) = "Linux x86_64" ]]; then
# x86_64 CPUs must always support the baseline
# microarchitecture level.
nix -vv --version | grepQuiet "x86_64-v1-linux"
fi