mirror of
https://github.com/NixOS/nix.git
synced 2024-10-30 05:40:52 +00: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
|