anchor.diff:    # cp: cannot create regular file './internal_defaults.json': File exists
     enableParallelBuilding = false;
   
  -  # The samplerate patch should be removed when HandBrake 1.3.0 is released
  -  patches = [(fetchpatch {
  -    name = "set-ffmpeg-samplerate.patch";
  -    url = "https://patch-diff.githubusercontent.com/raw/HandBrake/HandBrake/pull/2126.patch";
  -    sha256 = "00lds9h27cvyr53qpvv8gbv01hfxdxd8gphxcwbwg8akqrvk9gbf";
  -  })];
  -
     preConfigure = ''
       patchShebangs scripts
   
  
positive.code:   # NOTE: 2018-12-27: Check NixOS HandBrake test if changing
    NIX_LDFLAGS = [
      "-lx265"
    ];
  
    preBuild = ''
  
negative.code: 
  stdenv.mkDerivation rec {
    pname = "handbrake";
    version = "1.3.0";
  
    src = fetchurl {
      url = ''https://download2.handbrake.fr/${version}/HandBrake-${version}-source.tar.bz2'';
      sha256 = "15hxncswmaj62hb40fxixsa6d519zb712z9xbdq979q4rasjxa59";
    };
  
    nativeBuildInputs = [
  