How to compile dwm from local source?

How to compile dwm from local source?

overrideAttrs the src to point to the local sources?

Have you already tried that?