notion-app: throw on unsupported arch
This commit is contained in:
parent
cc016577d3
commit
fdd6dab382
@ -5,7 +5,9 @@
|
|||||||
unzip,
|
unzip,
|
||||||
}:
|
}:
|
||||||
let
|
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
|
in
|
||||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
pname = "notion-app";
|
pname = "notion-app";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user