Loading packages to the freshly added processes

Thank you, guys.
If someone else is interested, the following code works:

using Distributed, ThreadPinning
function add_pinned_workers(nw::Int, nt::Int, coress)
    worker_list = addprocs(nw, exeflags=["--threads=$nt", "--project=$(Base.active_project())"])
    @eval @everywhere using ThreadPinning
    @sync for wid in worker_list
        @spawnat wid ThreadPinning.pinthreads(worker_list[wid-1])
    end 
end