From 6b8c1d20847e688a0b3beafac01aec58e68c9bf6 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Tue, 1 May 2018 15:38:22 +0200 Subject: guake: fix build --- pkgs/applications/misc/guake/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pkgs') diff --git a/pkgs/applications/misc/guake/default.nix b/pkgs/applications/misc/guake/default.nix index 9ae4ca0be03e..c34f0e48f3ec 100644 --- a/pkgs/applications/misc/guake/default.nix +++ b/pkgs/applications/misc/guake/default.nix @@ -24,6 +24,12 @@ in python3.pkgs.buildPythonApplication rec { PBR_VERSION = version; # pbr needs either .git directory, sdist, or env var + postPatch = '' + # unnecessary /usr/bin/env in Makefile + # https://github.com/Guake/guake/pull/1285 + substituteInPlace "Makefile" --replace "/usr/bin/env python3" "python3" + ''; + makeFlags = [ "prefix=$(out)" ]; -- cgit v1.2.3