guake: fix build

This commit is contained in:
Jan Tojnar 2018-05-01 15:38:22 +02:00
parent 02d34f7d9e
commit 6b8c1d2084
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -24,6 +24,12 @@ in python3.pkgs.buildPythonApplication rec {
PBR_VERSION = version; # pbr needs either .git directory, sdist, or env var 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 = [ makeFlags = [
"prefix=$(out)" "prefix=$(out)"
]; ];