anchor.diff:        clang-unwrapped.lib
       ];
     };
  +  cuda = cudaPackages.cudatoolkit_11;
   in stdenv.mkDerivation rec {
     pname = "terra";
     version = "1.0.0-beta3";
  
positive.code:   };
  
    nativeBuildInputs = [ cmake ];
    buildInputs = [ llvmMerged ncurses libxml2 ];
  
    cmakeFlags = [
      "-DHAS_TERRA_VERSION=0"
      "-DTERRA_VERSION=${src.rev}"
      "-DTERRA_LUA=luajit"
    ];
  
    doCheck = true;
    enableParallelBuilding = true;
  
negative.code: { lib, stdenv, fetchurl, fetchFromGitHub, llvmPackages, ncurses, cmake, libxml2
  , symlinkJoin, breakpointHook, cudaPackages, enableCUDA ? false }:
  
  let
    luajitRev = "9143e86498436892cb4316550be4d45b68a61224";
  