From 88feb757e727fb8e9d96a97fabae49011864c923 Mon Sep 17 00:00:00 2001 From: eth3lbert Date: Fri, 28 Jun 2024 11:51:46 +0800 Subject: [PATCH] lcov: fix build on Darwin Since `Memory-Process` is not listed as supported on Darwin, and according to https://github.com/linux-test-project/lcov/issues/238#issuecomment-1709020564, it's not required as a dependency. Therefore, it's safe to remove `Memory-Process` from the perlDeps on Darwin and get it working again. Co-authored-by: Reno Dakota <170618376+paparodeo@users.noreply.github.com> --- pkgs/development/tools/analysis/lcov/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/development/tools/analysis/lcov/default.nix b/pkgs/development/tools/analysis/lcov/default.nix index c5e3b43eea06..0ed0ef816f09 100644 --- a/pkgs/development/tools/analysis/lcov/default.nix +++ b/pkgs/development/tools/analysis/lcov/default.nix @@ -16,9 +16,8 @@ let perlPackages.DevelCover perlPackages.GD perlPackages.JSONXS - perlPackages.MemoryProcess perlPackages.PathTools - ]; + ] ++ lib.optionals (!stdenv.isDarwin) [ perlPackages.MemoryProcess ]; in stdenv.mkDerivation rec { pname = "lcov";