Commit a44dfabf authored by FliegendeWurst's avatar FliegendeWurst
Browse files

lcov: fix and enable strictDeps

parent c6186b78
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -30,16 +30,22 @@ stdenv.mkDerivation rec {
    hash = "sha256-cZdDlOf3IgPQrUNl+wu6Gwecaj+r2xu0eqmlz67TeAI=";
  };

  nativeBuildInputs = [ makeWrapper ];
  nativeBuildInputs = [
    makeWrapper
    perl
  ];

  buildInputs = [
    perl
    python3
  ];

  strictDeps = true;

  preBuild = ''
    patchShebangs bin/
    makeFlagsArray=(PREFIX=$out LCOV_PERL_PATH=$(command -v perl))
    patchShebangs --build bin/{fix.pl,get_version.sh} tests/*/*
    patchShebangs --host bin/{gen*,lcov,perl2lcov}
    makeFlagsArray=(PREFIX=$out LCOV_PERL_PATH=${lib.getExe perl})
  '';

  postInstall = ''