I’m using direnv and nix to manage my paths so I can have reproducible versions of my cli tools. There is a tool called
kexpand https://github.com/kopeio/kexpand which I need. To keep things simple (so I can get it done today) I just want to fetch the binary from the release, based on my os.
I’m new to nix and still learning the language and idioms. Anyone have a working example of fetching a binary from github or some other url and installing that? Right now I don’t have the time/interest in actually building
kexpand from scratch though that seems to be what all the examples I’ve seen so far would do.