From dc179f87daff7f7430f9aeb52cadc8ccaffbdaef Mon Sep 17 00:00:00 2001 From: figsoda Date: Fri, 18 Nov 2022 14:56:01 -0500 Subject: [PATCH] eureka-ideas: fix build on darwin --- pkgs/applications/misc/eureka-ideas/default.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/misc/eureka-ideas/default.nix b/pkgs/applications/misc/eureka-ideas/default.nix index d9016bc341ae..ee15f31632cb 100644 --- a/pkgs/applications/misc/eureka-ideas/default.nix +++ b/pkgs/applications/misc/eureka-ideas/default.nix @@ -2,6 +2,7 @@ , rustPlatform , fetchFromGitHub , pkg-config +, libgit2 , openssl , stdenv , Security @@ -22,13 +23,15 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ pkg-config ]; - buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ]; - - checkFlags = lib.optionals stdenv.isLinux [ - # failing on linux for unknown reasons - "--skip=config_manager::tests" + buildInputs = [ + libgit2 + openssl + ] ++ lib.optionals stdenv.isDarwin [ + Security ]; + dontUseCargoParallelTests = true; + meta = with lib; { description = "CLI tool to input and store your ideas without leaving the terminal"; homepage = "https://github.com/simeg/eureka";