summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/X11/bumblebee
diff options
context:
space:
mode:
authorFrederik Rietdijk <freddyrietdijk@fridh.nl>2018-07-20 21:06:32 +0200
committerGitHub <noreply@github.com>2018-07-20 21:06:32 +0200
commit1a6af9f88ec2405334a9fd6a977ccbcb53472305 (patch)
tree4976952d82daa3fb817193170299fd6f50c6c6d1 /pkgs/tools/X11/bumblebee
parentce12ad31169edfb1de911e54be9230b298e325f3 (diff)
parent87f5930c3fb2c852f5243278b7a9da8e117d95e4 (diff)
Merge pull request #43857 from volth/unused
[bot] treewide: remove unreferenced code
Diffstat (limited to 'pkgs/tools/X11/bumblebee')
-rw-r--r--pkgs/tools/X11/bumblebee/default.nix5
1 files changed, 0 insertions, 5 deletions
diff --git a/pkgs/tools/X11/bumblebee/default.nix b/pkgs/tools/X11/bumblebee/default.nix
index 14fe769db6be..7345528dad2b 100644
--- a/pkgs/tools/X11/bumblebee/default.nix
+++ b/pkgs/tools/X11/bumblebee/default.nix
@@ -36,11 +36,6 @@
let
version = "3.2.1";
- primus = if useNvidia then primusLib else primusLib.override { nvidia_x11 = null; };
- primus_i686 = if useNvidia then primusLib_i686 else primusLib_i686.override { nvidia_x11 = null; };
-
- primusLibs = lib.makeLibraryPath ([ primus ] ++ lib.optional (primusLib_i686 != null) primus_i686);
-
nvidia_x11s = [ nvidia_x11 ]
++ lib.optional nvidia_x11.useGLVND libglvnd
++ lib.optionals (nvidia_x11_i686 != null)