Skip to content

Instantly share code, notes, and snippets.

@callahad
Created March 4, 2019 14:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save callahad/9dbad0eabc06784b32dd26fe0be8cf2d to your computer and use it in GitHub Desktop.
Save callahad/9dbad0eabc06784b32dd26fe0be8cf2d to your computer and use it in GitHub Desktop.
nixpkgs.config.packageOverrides = pkgs: {
# Fix Intel VAAPI
# See: https://github.com/NixOS/nixpkgs/pull/55976
vaapiIntel = pkgs.vaapiIntel.overrideAttrs (oldAttrs: {
name = "intel-vaapi-driver-git-20190211";
version = "git-20190211";
rev = "329975c63123610fc750241654a3bd18add75beb";
src = pkgs.fetchFromGitHub {
owner = "intel";
repo = "intel-vaapi-driver";
rev = "329975c63123610fc750241654a3bd18add75beb";
sha256 = "10333wh2d0hvz5lxl3gjvqs71s7v9ajb0269b3bj5kbflj03v3n5";
};
});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment