Becoming a nixpkgs maintainer: how to find your GitHub user

I’m taking the nixpkgs train from being a user to becoming a maintainer.

You’ll notice the maintainer’s list in nixpkgs asks for your GitHub account user id.

Huh? I only speak handle.

The GitHub CLI can do this easily for you. For added simplicity, I pipe to jq to grab just the value I need:

gh api /users/eflanagan0 | jq .id
6 Likes

A little addition without requiring Github CLI:

nix-shell -p curl jq --run "curl -sL https://api.github.com/users/YOURUSERNAME | jq .id"
5 Likes

Note that this is already briefly documented here :slight_smile:

6 Likes