nix/tests/functional/compute-levels.sh

10 lines
221 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
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