diff options
author | annalee <150648636+a-n-n-a-l-e-e@users.noreply.github.com> | 2024-04-05 02:30:31 +0000 |
---|---|---|
committer | annalee <150648636+a-n-n-a-l-e-e@users.noreply.github.com> | 2024-04-05 02:30:42 +0000 |
commit | 0d7dc0efc540648d7052b4e7cbb0b14c454e7206 (patch) | |
tree | 9de178833975c7a707b17a8b241f17cec2efd2b5 /pkgs/applications/networking/instant-messengers | |
parent | 86485bebac06ae466369b93fce9f92198895ccfc (diff) |
treewide: throw on unsupported system src access
Diffstat (limited to 'pkgs/applications/networking/instant-messengers')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/discord/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/discord/default.nix b/pkgs/applications/networking/instant-messengers/discord/default.nix index 40e9c77e57a7..423f6cb2f1db 100644 --- a/pkgs/applications/networking/instant-messengers/discord/default.nix +++ b/pkgs/applications/networking/instant-messengers/discord/default.nix @@ -52,7 +52,7 @@ let }; aarch64-darwin = x86_64-darwin; }; - src = srcs.${stdenv.hostPlatform.system}.${branch}; + src = srcs.${stdenv.hostPlatform.system}.${branch} or (throw "${stdenv.hostPlatform.system} not supported on ${branch}"); meta = with lib; { description = "All-in-one cross-platform voice and text chat for gamers"; |