From 0a415f33c1e925c3f74b351da9240043c8c7f9b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 8 Nov 2021 09:45:05 +0100 Subject: [PATCH] evilwm: change prePatch to postPatch --- pkgs/applications/window-managers/evilwm/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/window-managers/evilwm/default.nix b/pkgs/applications/window-managers/evilwm/default.nix index c11d3d6b14df..0855e512fd8e 100644 --- a/pkgs/applications/window-managers/evilwm/default.nix +++ b/pkgs/applications/window-managers/evilwm/default.nix @@ -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; };