From 7e2979b56f30e1b52563cc749530400b6e4e9878 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 17 Jul 2012 14:44:23 +0200 Subject: [PATCH] i3: fix build some more The build process depends on a script that relies on /usr/bin/env to find Perl. Running 'patchShebangs' early fixes that script. --- pkgs/applications/window-managers/i3/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/window-managers/i3/default.nix b/pkgs/applications/window-managers/i3/default.nix index 3a3a3626fb9..14fd6ce4193 100644 --- a/pkgs/applications/window-managers/i3/default.nix +++ b/pkgs/applications/window-managers/i3/default.nix @@ -13,6 +13,8 @@ stdenv.mkDerivation rec { buildInputs = [ which pkgconfig libxcb xcbutilkeysyms xcbutil bison xcbutilwm libstartup_notification libX11 pcre libev yajl flex libXcursor perl ]; + patchPhase = "patchShebangs ."; + configurePhase = "makeFlags=PREFIX=$out"; meta = {