I started using flakes and now I wanted to try using
nix run instead of
nix-shell. The help for
nix run says that I can access legacy packages from a flake (and not only the apps). They give the example of
nix run nixpkgs#vim which works. Now I am trying to run a package that is nested in a attrset:
nix-shell -p gnome.pomodoro --run gnome-pomodoro
How do I translate this to
nix run? The help suggests that it is not possible because for legacy packages the executable will be selected bases on the derivation name. And in this case they differ.