summary refs log tree commit diff
path: root/pkgs/tools/X11/bumblebee/default.nix
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-05-01 02:10:24 +0300
committerNikolay Amiantov <ab@fmap.me>2016-05-01 03:27:27 +0300
commitac3ce1c26a5b06a51b023eb99faa0dbc05f9327f (patch)
tree83f6fb0a65469d757a094470659ad3df801a0ad5 /pkgs/tools/X11/bumblebee/default.nix
parent5fcf22f57cd024e2d8e96d5286f5afe91b067398 (diff)
downloadnixpkgs-ac3ce1c26a5b06a51b023eb99faa0dbc05f9327f.tar
nixpkgs-ac3ce1c26a5b06a51b023eb99faa0dbc05f9327f.tar.gz
nixpkgs-ac3ce1c26a5b06a51b023eb99faa0dbc05f9327f.tar.bz2
nixpkgs-ac3ce1c26a5b06a51b023eb99faa0dbc05f9327f.tar.lz
nixpkgs-ac3ce1c26a5b06a51b023eb99faa0dbc05f9327f.tar.xz
nixpkgs-ac3ce1c26a5b06a51b023eb99faa0dbc05f9327f.tar.zst
nixpkgs-ac3ce1c26a5b06a51b023eb99faa0dbc05f9327f.zip
bumblebee: fix outputs
Diffstat (limited to 'pkgs/tools/X11/bumblebee/default.nix')
-rw-r--r--pkgs/tools/X11/bumblebee/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/X11/bumblebee/default.nix b/pkgs/tools/X11/bumblebee/default.nix
index 803fd0dd850..e58aa7042d0 100644
--- a/pkgs/tools/X11/bumblebee/default.nix
+++ b/pkgs/tools/X11/bumblebee/default.nix
@@ -46,7 +46,7 @@ let
   bbdPath = lib.makeBinPath [ kmod xorgserver ];
   bbdLibs = lib.makeLibraryPath [ libX11 libXext ];
 
-  xmodules = lib.concatStringsSep "," (map (x: "${x}/lib/xorg/modules") ([ xorgserver ] ++ lib.optional (!useNvidia) xf86videonouveau));
+  xmodules = lib.concatStringsSep "," (map (x: "${x.out or x}/lib/xorg/modules") ([ xorgserver ] ++ lib.optional (!useNvidia) xf86videonouveau));
 
 in stdenv.mkDerivation rec {
   name = "bumblebee-${version}";