nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

notion-app: throw on unsupported arch

authored by

Charlotte 🦝 Deleńkec and committed by
Weijia Wang
fdd6dab3 cc016577

+3 -1
+3 -1
pkgs/by-name/no/notion-app/package.nix
··· 5 5 unzip, 6 6 }: 7 7 let 8 - info = (lib.importJSON ./info.json)."${stdenvNoCC.hostPlatform.parsed.cpu.name}-darwin"; 8 + info = 9 + (lib.importJSON ./info.json)."${stdenvNoCC.hostPlatform.parsed.cpu.name}-darwin" 10 + or (throw "Unsupported CPU architecture: ${stdenvNoCC.hostPlatform.parsed.cpu.name}"); 9 11 in 10 12 stdenvNoCC.mkDerivation (finalAttrs: { 11 13 pname = "notion-app";