diff options
author | eth3lbert <eth3lbert+dev@gmail.com> | 2024-06-28 11:51:46 +0800 |
---|---|---|
committer | eth3lbert <eth3lbert+dev@gmail.com> | 2024-06-28 12:50:50 +0800 |
commit | 88feb757e727fb8e9d96a97fabae49011864c923 (patch) | |
tree | d702619caefb8b1adbef0bca8932687fc91a09aa /pkgs | |
parent | 33be72b31b7cc5a0b43cc3b6c005cf4e4d47d899 (diff) |
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>
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/tools/analysis/lcov/default.nix | 3 |
1 files changed, 1 insertions, 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"; |