Commit 1f6d5ccf authored by Alyssa Ross's avatar Alyssa Ross
Browse files

motif: prePatch -> postPatch

To avoid potentially breaking patches that modify Makefile.am or
Makefile.in.
parent 4bf323a2
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}
  '';