pony-corral: Tells hydra to use base arch instead of native (#493128)

This commit is contained in:
@mjones
2026-02-23 17:04:25 +00:00
committed by GitHub
+11
View File
@@ -17,6 +17,17 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-pJ6/+PYxMpJcj1e9v2Al8vIWFizJnLMIw7LlVU9ogS0=";
};
env.arch =
if stdenv.hostPlatform.isx86_64 then
"x86-64"
else if stdenv.hostPlatform.isAarch64 then
"armv8-a"
else
lib.warn ''
architecture '${stdenv.hostPlatform.system}' compiles with native optimizations,
this may result in crashes on incompatible CPUs!
'' "native";
strictDeps = true;
nativeBuildInputs = [ ponyc ];