anchor.diff:    outputs = [ "out" "dev" ];
   
     src = fetchFromGitHub {
  -    owner  = "intel";
  -    repo   = "media-driver";
  -    rev    = "intel-media-${version}";
  +    owner = "intel";
  +    repo = "media-driver";
  +    rev = "intel-media-${version}";
       sha256 = "1ch1bvqg6p0i7ahblhy0h9c43y2mfhqb25v1s344iqsrywwcpzzr";
     };
  +
  +  patches = [
  +    (fetchpatch {
  +      url = "https://salsa.debian.org/multimedia-team/intel-media-driver-non-free/-/raw/master/debian/patches/0002-Remove-settings-based-on-ARCH.patch";
  +      sha256 = "sha256-f4M0CPtAVf5l2ZwfgTaoPw7sPuAP/Uxhm5JSHEGhKT0=";
  +    })
  +  ];
   
     cmakeFlags = [
       "-DINSTALL_DRIVER_SYSCONF=OFF"
  
positive.code:     changelog = "https://github.com/intel/media-driver/releases/tag/intel-media-${version}";
      license = with licenses; [ bsd3 mit ];
      platforms = platforms.linux;
      maintainers = with maintainers; [ primeos jfrankenau ];
    };
  }
  
negative.code: { lib
  , stdenv
  , fetchFromGitHub
  , fetchpatch
  , cmake
  , pkg-config
  , libva
  , libpciaccess
  , intel-gmmlib
  , enableX11 ? stdenv.isLinux
  , libX11
  }:
  
  stdenv.mkDerivation rec {
  