Unverified Commit b4d0b0a0 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

patchutils: enable and fix strictDeps (#485444)

parents 318c3b3f 37c4a333
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -26,6 +26,10 @@ stdenv.mkDerivation rec {
  # tests fail when building in parallel
  enableParallelBuilding = false;

  preConfigure = ''
    export PERL=${perl.interpreter}
  '';

  postInstall = ''
    for bin in $out/bin/{splitdiff,rediff,editdiff,dehtmldiff}; do
      wrapProgram "$bin" \
@@ -44,6 +48,8 @@ stdenv.mkDerivation rec {
      -exec sed -i '{}' -e 's|/bin/echo|echo|g' \;
  '';

  strictDeps = true;

  meta = {
    description = "Tools to manipulate patch files";
    homepage = "http://cyberelk.net/tim/software/patchutils";