motif: prePatch -> postPatch

To avoid potentially breaking patches that modify Makefile.am or
Makefile.in.
This commit is contained in:
Alyssa Ross 2024-05-26 11:31:26 +02:00
parent 4bf323a2cf
commit 1f6d5ccf14

View File

@ -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}
'';