notion-app: throw on unsupported arch

This commit is contained in:
Charlotte 🦝 Deleńkec
2025-07-11 22:09:00 -05:00
committed by Weijia Wang
parent cc016577d3
commit fdd6dab382
+3 -1
View File
@@ -5,7 +5,9 @@
unzip,
}:
let
info = (lib.importJSON ./info.json)."${stdenvNoCC.hostPlatform.parsed.cpu.name}-darwin";
info =
(lib.importJSON ./info.json)."${stdenvNoCC.hostPlatform.parsed.cpu.name}-darwin"
or (throw "Unsupported CPU architecture: ${stdenvNoCC.hostPlatform.parsed.cpu.name}");
in
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "notion-app";