daytona-bin: throw on unsupported systems

This commit is contained in:
Charlotte 🦝 Deleńkec 2025-06-26 17:50:17 +01:00 committed by Weijia Wang
parent 92e1e3ac5f
commit 5f7bce2107

View File

@ -30,7 +30,10 @@ stdenvNoCC.mkDerivation (finalAttrs: {
};
};
in
fetchurl urls."${stdenvNoCC.hostPlatform.system}";
fetchurl (
urls."${stdenvNoCC.hostPlatform.system}"
or (throw "Unsupported system: ${stdenvNoCC.hostPlatform.system}")
);
dontUnpack = true;