From 78ca2bef8a6a281a31b8fbff68c53dd1754f12be Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sun, 26 May 2024 11:31:26 +0200 Subject: [PATCH] motif: prePatch -> postPatch To avoid potentially breaking patches that modify Makefile.am or Makefile.in. (cherry picked from commit 3aeecd86eaed9a25ed705ebb59452d2157195f92) --- pkgs/development/libraries/motif/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/motif/default.nix b/pkgs/development/libraries/motif/default.nix index a55c0ecdab0b..8551510b476c 100644 --- a/pkgs/development/libraries/motif/default.nix +++ b/pkgs/development/libraries/motif/default.nix @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { propagatedBuildInputs = [ libXp libXau ]; - prePatch = lib.optionalString (!demoSupport) '' + postPatch = lib.optionalString (!demoSupport) '' sed 's/\//' -i Makefile.{am,in} '';