summaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2018-05-01 15:38:22 +0200
committerJan Tojnar <jtojnar@gmail.com>2018-05-01 15:38:22 +0200
commit6b8c1d20847e688a0b3beafac01aec58e68c9bf6 (patch)
tree6a1683e9df1ac3f51c2c490e65afdde1b5a2a913 /pkgs
parent02d34f7d9e72bc8c4373784d3d23a2c86cc25cef (diff)
guake: fix build
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/misc/guake/default.nix6
1 files changed, 6 insertions, 0 deletions
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)"
];