mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02:00
Merge pull request #12873 from ericsagnes/feat/i3
i3: move dependencies to runtime
This commit is contained in:
commit
89fa4724f1
|
@ -34,6 +34,6 @@ in
|
||||||
'';
|
'';
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
environment.systemPackages = with pkgs; [ i3 i3status dmenu ];
|
environment.systemPackages = with pkgs; [ i3 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ fetchurl, stdenv, which, pkgconfig, makeWrapper, libxcb, xcbutilkeysyms
|
{ fetchurl, stdenv, which, pkgconfig, makeWrapper, libxcb, xcbutilkeysyms
|
||||||
, xcbutil, xcbutilwm, libstartup_notification, libX11, pcre, libev, yajl
|
, xcbutil, xcbutilwm, libstartup_notification, libX11, pcre, libev, yajl
|
||||||
, xcb-util-cursor, coreutils, perl, pango, perlPackages, libxkbcommon
|
, xcb-util-cursor, coreutils, perl, pango, perlPackages, libxkbcommon
|
||||||
, xorgserver, xvfb_run }:
|
, xorgserver, xvfb_run, dmenu, i3status }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "i3-${version}";
|
name = "i3-${version}";
|
||||||
|
@ -24,6 +24,13 @@ stdenv.mkDerivation rec {
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
substituteInPlace $out/etc/i3/config --replace dmenu_run ${dmenu}/bin/dmenu_run
|
||||||
|
substituteInPlace $out/etc/i3/config --replace "status_command i3status" "status_command ${i3status}/bin/i3status"
|
||||||
|
substituteInPlace $out/etc/i3/config.keycodes --replace dmenu_run ${dmenu}/bin/dmenu_run
|
||||||
|
substituteInPlace $out/etc/i3/config.keycodes --replace "status_command i3status" "status_command ${i3status}/bin/i3status"
|
||||||
|
'';
|
||||||
|
|
||||||
# Tests have been failing (at least for some people in some cases)
|
# Tests have been failing (at least for some people in some cases)
|
||||||
# and have been disabled until someone wants to fix them. Some
|
# and have been disabled until someone wants to fix them. Some
|
||||||
# initial digging uncovers that the tests call out to `git`, which
|
# initial digging uncovers that the tests call out to `git`, which
|
||||||
|
|
Loading…
Reference in a new issue