From 4b22c6405974d929b6eaec7dce1fd5bab12e3a0f Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Thu, 3 Oct 2024 22:20:48 -0400 Subject: [PATCH 1/2] nix: fix shell config for darwin With the change, I was able to build the binary with `make` and successfully execute the tests with `./test.py` on darwin aarch64. --- shell.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/shell.nix b/shell.nix index 3fd126dd7..3fae0e52a 100644 --- a/shell.nix +++ b/shell.nix @@ -13,6 +13,9 @@ in ncurses lcms2 xxhash + xxHash + simde + go_1_23 ] ++ optionals stdenv.isDarwin [ Cocoa @@ -43,9 +46,7 @@ in wayland-protocols wayland openssl - xxHash dbus - simde ] ++ checkInputs; From 2e724a5b89fa586f37bf5b8325714806f5c0a155 Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Thu, 3 Oct 2024 22:43:55 -0400 Subject: [PATCH 2/2] nix: Drop python3Packages.xxhash from build inputs The python package is not used by the app. Only the C library is used (and it's already included in the inputs). --- shell.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/shell.nix b/shell.nix index 3fae0e52a..0c1c6c667 100644 --- a/shell.nix +++ b/shell.nix @@ -12,7 +12,6 @@ in harfbuzzWithCoreText ncurses lcms2 - xxhash xxHash simde go_1_23