Commit 78ca2bef authored by Alyssa Ross's avatar Alyssa Ross Committed by github-actions[bot]
Browse files

motif: prePatch -> postPatch

To avoid potentially breaking patches that modify Makefile.am or
Makefile.in.

(cherry picked from commit 3aeecd86eaed9a25ed705ebb59452d2157195f92)
parent 5c11d382
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {

  propagatedBuildInputs = [ libXp libXau ];

  prePatch = lib.optionalString (!demoSupport) ''
  postPatch = lib.optionalString (!demoSupport) ''
    sed 's/\<demos\>//' -i Makefile.{am,in}
  '';