diff options
-rw-r--r-- | pkgs/development/libraries/vaapi-intel-hybrid/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/libraries/vaapi-intel-hybrid/default.nix b/pkgs/development/libraries/vaapi-intel-hybrid/default.nix index e137f97698eb6..ca40d42609458 100644 --- a/pkgs/development/libraries/vaapi-intel-hybrid/default.nix +++ b/pkgs/development/libraries/vaapi-intel-hybrid/default.nix @@ -5,7 +5,7 @@ stdenv.mkDerivation rec { version = "1.0.2"; src = fetchFromGitHub { - owner = "01org"; + owner = "intel"; repo = "intel-hybrid-driver"; rev = version; sha256 = "sha256-uYX7RoU1XVzcC2ea3z/VBjmT47xmzK67Y4LaiFXyJZ8="; @@ -25,6 +25,9 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; + # Workaround build failure on -fno-common toolchains like upstream gcc-10. + NIX_CFLAGS_COMPILE = "-fcommon"; + configureFlags = [ "--enable-drm" "--enable-x11" |