Skip to content

bumblebee: allow the use of different driver versions#44921

Closed
eadwu wants to merge 1 commit intoNixOS:masterfrom
eadwu:bumblebee/other-nvidia-branches
Closed

bumblebee: allow the use of different driver versions#44921
eadwu wants to merge 1 commit intoNixOS:masterfrom
eadwu:bumblebee/other-nvidia-branches

Conversation

@eadwu
Copy link
Member

@eadwu eadwu commented Aug 12, 2018

Motivation for this change

Not really perfect, though allows me to use the short-lived branch with a bit of extra configuration. nvidia_x11_beta is set to the short-lived branch on my nixpkgs.

  nixpkgs = {
    overlays = [
      (self: super: {
        bumblebee = super.bumblebee.override {
          nvidia_x11 = config.boot.kernelPackages.nvidia_x11_beta;
        };
      })
    ];
  };
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@GrahamcOfBorg GrahamcOfBorg added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` labels Aug 12, 2018
@eadwu
Copy link
Member Author

eadwu commented Dec 22, 2018

Using the solution from #49703 is better in my opinion.

@eadwu eadwu closed this Dec 22, 2018
@eadwu eadwu deleted the bumblebee/other-nvidia-branches branch November 17, 2020 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/`

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants