[NOOB] How to use overridden package url

The case is I configure rofi package with extra plugins.
And under sxhkd package, I want to add ${pkgs.rofi}/bin/rofi … under sxhkd config

I expected the url for rofi in store is from overridden rofi, but turn out I got the original rofi url.

How can I handle this case ? Please help, thank you.