diff options
-rw-r--r-- | pkgs/servers/search/typesense/default.nix | 4 | ||||
-rw-r--r-- | pkgs/servers/search/typesense/sources.json | 4 | ||||
-rwxr-xr-x | pkgs/servers/search/typesense/update.sh | 1 |
3 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/servers/search/typesense/default.nix b/pkgs/servers/search/typesense/default.nix index 30e09db055f2..cfcb7749b074 100644 --- a/pkgs/servers/search/typesense/default.nix +++ b/pkgs/servers/search/typesense/default.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation { inherit hash; }; - nativeBuildInputs = [ + nativeBuildInputs = lib.optionals stdenv.isLinux [ autoPatchelfHook ]; @@ -59,7 +59,7 @@ stdenv.mkDerivation { # This is where I stopped trying for now. # XXX: retry once typesense has officially released their bazel based build. sourceProvenance = with sourceTypes; [ binaryNativeCode ]; - platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" ]; + platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; maintainers = with maintainers; [ oddlama ]; }; } diff --git a/pkgs/servers/search/typesense/sources.json b/pkgs/servers/search/typesense/sources.json index 0f7f43b7015a..854c0cfc4f9d 100644 --- a/pkgs/servers/search/typesense/sources.json +++ b/pkgs/servers/search/typesense/sources.json @@ -12,6 +12,10 @@ "x86_64-darwin": { "arch": "darwin-amd64", "hash": "sha256-FkWie6DgIhgojrn48rt9/GT0Lmu7jt74q2rzw1MI2Ws=" + }, + "aarch64-darwin": { + "arch": "darwin-arm64", + "hash": "sha256-ejw8B+DmCQs6cUSiLueY9tSdWnrFSFvLMS36U4+v8N4=" } } } diff --git a/pkgs/servers/search/typesense/update.sh b/pkgs/servers/search/typesense/update.sh index c6d733181cd3..3dec74232f46 100755 --- a/pkgs/servers/search/typesense/update.sh +++ b/pkgs/servers/search/typesense/update.sh @@ -15,6 +15,7 @@ fi declare -A platforms=( [aarch64-linux]="linux-arm64" + [aarch64-darwin]="darwin-arm64" [x86_64-darwin]="darwin-amd64" [x86_64-linux]="linux-amd64" ) |