motif: prePatch -> postPatch

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

(cherry picked from commit 3aeecd86ea)
This commit is contained in:
Alyssa Ross 2024-05-26 11:31:26 +02:00 committed by github-actions[bot]
parent 5c11d382f8
commit 78ca2bef8a

View File

@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ libXp libXau ]; propagatedBuildInputs = [ libXp libXau ];
prePatch = lib.optionalString (!demoSupport) '' postPatch = lib.optionalString (!demoSupport) ''
sed 's/\<demos\>//' -i Makefile.{am,in} sed 's/\<demos\>//' -i Makefile.{am,in}
''; '';