The rights of the song, which was originally part of the 1982 film "Namak Halal", were bought, and the number was given a contemporary twist by music director Bappa Lahiri for Varma's film.
"Like millions of others, I have always been a huge fan of 'Thodi si jo pi li hai' song from 'Namak Halal'. I felt that to picturise it on Sanjay Dutt will be a fitting tribute to Mr. Bachchan's classic masterpiece," Varma said in a statement.
The song is sung by Sukhwinder Singh, and has been picturised on Sanjay and ace choreographer Ganesh Acharya. 'Department', which releases May 18, features Rana Daggubati, Amitabh and Sanjay in key roles.
Photos: SRK does garba, Nawazuddin takes 'shower' in bathtub
Photos: Soha Ali Khan, Evelyn Sharma, Urvashi Rautela at Mumbai airport
Spotted: Lara Dutta, Mahesh Bhupathi with their daughter in Bandra
Photos: SRK, Tamannaah Bhatia, Varun Dhawan at Mehboob Studio
Birthday special: Sushant Singh Rajput's journey from TV to films