eureka-ideas: fix build on darwin

This commit is contained in:
figsoda 2022-11-18 14:56:01 -05:00
parent e38f6d3742
commit dc179f87da

View File

@ -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";