mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +00:00
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:
parent
5c11d382f8
commit
78ca2bef8a
@ -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}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user