anchor.diff:      fi
     '';
   
  -  buildInputs = [
  -    lua curl makeWrapper which
  -  ];
  +  nativeBuildInputs = [ makeWrapper installShellFiles ];
  +
  +  buildInputs = [ lua curl which ];
   
     postInstall = ''
       sed -e "1s@.*@#! ${lua}/bin/lua$LUA_SUFFIX@" -i "$out"/bin/*
  
positive.code: , zip
  # some packages need to be compiled with cmake
  , cmake
  }:
  
  stdenv.mkDerivation rec {
  
negative.code:               --suffix LUA_CPATH ";" "$(echo "$out"/share/lua/*/)?/init.lua"
          }
      done
  
      installShellCompletion --cmd luarocks --bash <($out/bin/luarocks completion bash)
      installShellCompletion --cmd luarocks --zsh <($out/bin/luarocks completion zsh)
    '';
  
    propagatedBuildInputs = [ zip unzip cmake ];
  