pub async fn getprofilepkgs_versioned() -> Result<HashMap<String, String>>
Returns a list of all packages installed with nix profile with their name and version. Takes a bit longer than getprofilepkgs().
nix profile