Nix-shell: binary installation

From work I got a binary installer for a library, which I have to install (the install path is in the binary folder of my system), for development (cplex to be specific). I’m new to nix and I think I want to use nix-shell for “encapsulated” development environments. How can I install the program only in the nix shell?