Program missing from path

I ran this:

nix-env -i portmon

After installation finished, I could not run portmon. It isn’t in my path:

[me@x570-nixos:~]$ which portmon
which: no portmon in (/run/wrappers/bin:/home/evan/.nix-profile/bin:/etc/profiles/per-user/evan/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin)

I’m not sure if this is intentional or not, and I’d like to find out.

Is there a command I can use to search for portmon in the nix store?

1 Like

This program nix-index helped me find the derivation in nix store: GitHub - bennofs/nix-index: Quickly locate nix packages with specific files

2 Likes