summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/X11/bumblebee
diff options
context:
space:
mode:
authorvolth <volth@webmaster.ms>2017-01-18 02:57:15 +0300
committerNikolay Amiantov <ab@fmap.me>2017-01-18 02:57:15 +0300
commit69ed58d88ff7eb864ddb9cf0fd4fff9eebca9f0c (patch)
treee6221d51471121538f2240915fc02a33ef8e8f69 /pkgs/tools/X11/bumblebee
parent9fc3ce73d1b0a0a5da4a80987b0a5c79c0862a20 (diff)
xorg.xserver: configure --with-xkb-path= (#21653)
Diffstat (limited to 'pkgs/tools/X11/bumblebee')
-rw-r--r--pkgs/tools/X11/bumblebee/default.nix3
-rw-r--r--pkgs/tools/X11/bumblebee/nixos.patch3
2 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/tools/X11/bumblebee/default.nix b/pkgs/tools/X11/bumblebee/default.nix
index 0429faab2ef8..eac44efdf273 100644
--- a/pkgs/tools/X11/bumblebee/default.nix
+++ b/pkgs/tools/X11/bumblebee/default.nix
@@ -18,7 +18,7 @@
{ stdenv, lib, fetchurl, fetchpatch, pkgconfig, help2man, makeWrapper
, glib, libbsd
-, libX11, libXext, xorgserver, xkbcomp, kmod, xkeyboard_config, xf86videonouveau
+, libX11, libXext, xorgserver, xkbcomp, kmod, xf86videonouveau
, nvidia_x11, virtualgl, primusLib
, automake111x, autoconf
# The below should only be non-null in a x86_64 system. On a i686
@@ -125,7 +125,6 @@ in stdenv.mkDerivation rec {
CFLAGS = [
"-DX_MODULE_APPENDS=\\\"${xmodules}\\\""
- "-DX_XKB_DIR=\\\"${xkeyboard_config}/etc/X11/xkb\\\""
];
postInstall = ''
diff --git a/pkgs/tools/X11/bumblebee/nixos.patch b/pkgs/tools/X11/bumblebee/nixos.patch
index 00fb8ad7a535..cf6ee5add98f 100644
--- a/pkgs/tools/X11/bumblebee/nixos.patch
+++ b/pkgs/tools/X11/bumblebee/nixos.patch
@@ -49,12 +49,11 @@ index 71a6b73..a682d8a 100644
char *x_argv[] = {
XORG_BINARY,
bb_config.x_display,
-@@ -153,24 +170,25 @@ bool start_secondary(bool need_secondary) {
+@@ -153,24 +170,24 @@ bool start_secondary(bool need_secondary) {
"-sharevts",
"-nolisten", "tcp",
"-noreset",
+ "-logfile", "/var/log/X.bumblebee.log",
-+ "-xkbdir", X_XKB_DIR,
"-verbose", "3",
"-isolateDevice", pci_id,
- "-modulepath", bb_config.mod_path, // keep last