cleverca22
10/12/2016 - 9:14 PM

foo.nix

{ lib, config, pkgs, pkgs_i686, ... }:

let
  builders = import ./builders.nix;
  foo = pkgs.mesa_noglu.overrideDerivation (oldAttrs: {
    src = /home/clever/x/mesa-11.2.2;
    dontStrip = true;
  });
in
{
  hardware = {
    bluetooth.enable = false;
    opengl = {
      driSupport32Bit = true;
      package = pkgs.buildEnv {
        name = "custom-hack";
        paths = [
          foo foo.drivers
        ];
      };
    };
  };
}