anchor.diff:        ln -sf $out/nim/bin/nim $out/bin/nim
         ln -sf $out/nim/lib $out/lib
         ./install.sh $out
  +      cp -a tools $out/nim/
         runHook postInstall
       '';
   
  
positive.code:     buildPhase = ''
        runHook preBuild
        local HOME=$TMPDIR
        ./bin/nim c koch
        ./koch boot $kochArgs --parallelBuild:$NIX_BUILD_CORES
        ./koch toolsNoExternal $kochArgs --parallelBuild:$NIX_BUILD_CORES
        runHook postBuild
      '';
  
  
negative.code: 
      configurePhase = ''
        runHook preConfigure
        echo 'define:nixbuild' >> config/nim.cfg
        runHook postConfigure
      '';
  