anytype: Throw on unsupported systems

This commit is contained in:
David Chocholatý
2025-03-15 16:40:02 +01:00
parent 4d39a65fa7
commit 972cb1ed66
@@ -28,7 +28,9 @@ let
x86_64-darwin = "darwin-amd64";
aarch64-darwin = "darwin-arm64";
}
.${stdenv.hostPlatform.system};
.${stdenv.hostPlatform.system}
or (throw "anytype-heart not supported on ${stdenv.hostPlatform.system}");
in
buildGoModule {
inherit pname version src;