From e39f072ce3db17b4a6b19523d56f54d19bc2b98c Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Mon, 4 Apr 2016 02:35:45 +0200 Subject: [PATCH] sent: optional `patches` argument sent (like most suckless tools) is configured by recompiling with some header changes. This eases the configuration. --- pkgs/applications/misc/sent/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/sent/default.nix b/pkgs/applications/misc/sent/default.nix index 9e07c0dd4c8..c6430af5560 100644 --- a/pkgs/applications/misc/sent/default.nix +++ b/pkgs/applications/misc/sent/default.nix @@ -1,4 +1,5 @@ -{ stdenv, fetchurl, libpng, libX11, libXft }: +{ stdenv, fetchurl, libpng, libX11, libXft +, patches ? [] }: stdenv.mkDerivation rec { name = "sent-0.2"; @@ -10,6 +11,8 @@ stdenv.mkDerivation rec { buildInputs = [ libpng libX11 libXft ]; + inherit patches; + installFlags = [ "PREFIX=$(out)" ]; meta = with stdenv.lib; {