i3: make i3-save-workspace work

This commit is contained in:
Jaka Hudoklin 2014-11-30 18:40:03 +01:00
parent 318fbb34e7
commit 6b2e5c3262

View File

@ -1,6 +1,6 @@
{ fetchurl, stdenv, which, pkgconfig, libxcb, xcbutilkeysyms, xcbutil,
xcbutilwm, libstartup_notification, libX11, pcre, libev, yajl,
xcb-util-cursor, coreutils, perl, pango, perlPackages, xdummy }:
{ fetchurl, stdenv, which, pkgconfig, makeWrapper, libxcb, xcbutilkeysyms
, xcbutil, xcbutilwm, libstartup_notification, libX11, pcre, libev, yajl
, xcb-util-cursor, coreutils, perl, pango, perlPackages, xdummy }:
stdenv.mkDerivation rec {
name = "i3-${version}";
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [
which pkgconfig libxcb xcbutilkeysyms xcbutil xcbutilwm
which pkgconfig makeWrapper libxcb xcbutilkeysyms xcbutil xcbutilwm
libstartup_notification libX11 pcre libev yajl xcb-util-cursor perl pango
perlPackages.AnyEventI3 perlPackages.X11XCB perlPackages.IPCRun
perlPackages.ExtUtilsPkgConfig perlPackages.TestMore perlPackages.InlineC
@ -32,6 +32,10 @@ stdenv.mkDerivation rec {
configurePhase = "makeFlags=PREFIX=$out";
postInstall = ''
wrapProgram "$out/bin/i3-save-tree" --prefix PERL5LIB ":" "$PERL5LIB"
'';
meta = with stdenv.lib; {
description = "A tiling window manager";
homepage = "http://i3wm.org";