anchor.diff:          fi
         done
       '';
  -    preCheck = "pnacl/bin/clang -v"; # check it links correctly
  +
  +    preCheck = ''
  +      # check it links correctly
  +      pnacl/bin/clang -v
  +    '';
  +
       installPhase = ''
         runHook preInstall
   
  
positive.code:     chmod +w -R daemon/external_deps/linux64-${binary-deps-version}/
    '';
  
    nativeBuildInputs = [ cmake unvanquished-binary-deps copyDesktopItems ];
    buildInputs = [
      gmp
      libGL
  
negative.code:     pname = "unvanquished-assets";
      inherit version src;
  
      outputHash = "sha256-/dPr3ASNew1naB9FLcZ70jZtqQXWRflUmr4jsnRskiA=";
      outputHashMode = "recursive";
  
      nativeBuildInputs = [ aria2 cacert ];
  
      buildCommand = ''
        bash $src/download-paks --cache=$(pwd) --version=${version} $out
      '';
    };
  
  # this really is the daemon game engine, the game itself is in the assets
  