evilwm: change prePatch to postPatch

This commit is contained in:
Sandro Jäckel 2021-11-08 09:45:05 +01:00
parent 37c88f68b1
commit 0a415f33c1
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -26,8 +26,11 @@ stdenv.mkDerivation rec {
xorgproto
];
prePatch = ''substituteInPlace ./Makefile --replace /usr $out \
--replace "CC = gcc" "#CC = gcc"'';
postPatch = ''
substituteInPlace ./Makefile \
--replace /usr $out \
--replace "CC = gcc" "#CC = gcc"
'';
# Allow users set their own list of patches
inherit patches;
@ -35,14 +38,12 @@ stdenv.mkDerivation rec {
meta = with lib; {
homepage = "http://www.6809.org.uk/evilwm/";
description = "Minimalist window manager for the X Window System";
license = {
shortName = "evilwm";
fullName = "Custom, inherited from aewm and 9wm";
url = "http://www.6809.org.uk/evilwm/";
free = true;
}; # like BSD/MIT, but Share-Alike'y; See README.
maintainers = with maintainers; [ amiloradovsky ];
platforms = platforms.all;
};