mirror of
https://github.com/NixOS/nix
synced 2024-10-18 14:32:45 -04:00
10f864c5ae
This is good for shebang, and also good for future build system simplifications
10 lines
221 B
Bash
Executable file
10 lines
221 B
Bash
Executable file
#!/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
|