mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
evilwm: change prePatch to postPatch
This commit is contained in:
parent
37c88f68b1
commit
0a415f33c1
|
@ -26,8 +26,11 @@ stdenv.mkDerivation rec {
|
||||||
xorgproto
|
xorgproto
|
||||||
];
|
];
|
||||||
|
|
||||||
prePatch = ''substituteInPlace ./Makefile --replace /usr $out \
|
postPatch = ''
|
||||||
--replace "CC = gcc" "#CC = gcc"'';
|
substituteInPlace ./Makefile \
|
||||||
|
--replace /usr $out \
|
||||||
|
--replace "CC = gcc" "#CC = gcc"
|
||||||
|
'';
|
||||||
|
|
||||||
# Allow users set their own list of patches
|
# Allow users set their own list of patches
|
||||||
inherit patches;
|
inherit patches;
|
||||||
|
@ -35,14 +38,12 @@ stdenv.mkDerivation rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "http://www.6809.org.uk/evilwm/";
|
homepage = "http://www.6809.org.uk/evilwm/";
|
||||||
description = "Minimalist window manager for the X Window System";
|
description = "Minimalist window manager for the X Window System";
|
||||||
|
|
||||||
license = {
|
license = {
|
||||||
shortName = "evilwm";
|
shortName = "evilwm";
|
||||||
fullName = "Custom, inherited from aewm and 9wm";
|
fullName = "Custom, inherited from aewm and 9wm";
|
||||||
url = "http://www.6809.org.uk/evilwm/";
|
url = "http://www.6809.org.uk/evilwm/";
|
||||||
free = true;
|
free = true;
|
||||||
}; # like BSD/MIT, but Share-Alike'y; See README.
|
}; # like BSD/MIT, but Share-Alike'y; See README.
|
||||||
|
|
||||||
maintainers = with maintainers; [ amiloradovsky ];
|
maintainers = with maintainers; [ amiloradovsky ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue