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