anchor.diff:    installPhase = ''
       runHook preInstall
   
  -    install -Dt "$out"/share/lua-language-server/bin/Linux bin/Linux/lua-language-server
  -    install -m644 -t "$out"/share/lua-language-server/bin/Linux bin/Linux/*.*
  +    install -Dt "$out"/share/lua-language-server/bin/${target} bin/${target}/lua-language-server
  +    install -m644 -t "$out"/share/lua-language-server/bin/${target} bin/${target}/*.*
       install -m644 -t "$out"/share/lua-language-server {debugger,main}.lua
       cp -r locale meta script "$out"/share/lua-language-server
   
       # necessary for --version to work:
       install -m644 -t "$out"/share/lua-language-server changelog.md
   
  -    makeWrapper "$out"/share/lua-language-server/bin/Linux/lua-language-server \
  +    makeWrapper "$out"/share/lua-language-server/bin/${target}/lua-language-server \
         $out/bin/lua-language-server \
         --add-flags "-E $out/share/lua-language-server/main.lua \
         --logpath='~/.cache/sumneko_lua/log' \
  
positive.code:     makeWrapper
    ];
  
    preBuild = ''
      cd 3rd/luamake
    '';
  
    ninjaFlags = [
      "-fcompile/ninja/linux.ninja"
    ];
  
    postBuild = ''
  
negative.code: { lib, stdenv, fetchFromGitHub, ninja, makeWrapper, darwin }:
  let
    target = if stdenv.isDarwin then "macOS" else "Linux";
  in
  stdenv.mkDerivation rec {
    pname = "sumneko-lua-language-server";
    version = "2.5.1";
  