anchor.diff:      pushd server
       make mode=release
       popd
  +
  +    runHook postBuild
     '';
   
     installPhase = ''
  +    runHook preInstall
  +
       install -Dm644 client/libs/stb/libstb.so -t $out/lib
       install -Dm755 client/build/soldat_* $out/bin/soldat
       install -Dm755 server/build/soldatserver_* $out/bin/soldatserver
  
positive.code:   ];
  
    buildPhase = ''
      mkdir -p client/build server/build
  
      # build .so from stb headers
  
negative.code:         --add-flags "-fs_userpath \"$configDir\"" \
          --add-flags "-fs_basepath \"${base}/share/soldat\""
      done
  
      runHook postInstall
    '';
  
    meta = with lib; {
  