I use Home Manager (with flakes) very happily for my dotfiles. I have also installed Ruby and a few Gems like this in my home.nix
:
(ruby.withPackages (ps: with ps; [
nokogiri
pry
bundler
]))
However, I would like to install Brett Terpstra’s handy howzit gem to use in any directory within my $HOME (howzit is a markdown based alternative to make
). In other words, this isn’t a dependency associated with a particular Ruby project, where it would make sense to add it to a Gemfile and then install using bundix.
This gem doesn’t seem to be in the ruby gem packages in nixpkgs, so I can’t just add it to the list above to have it globally available.
What would be the easiest/cleanest way to integrate installing this gem with my home manager setup, and preferably add a symlink for the howzit binary to my ~/.nix-profile/bin/
?
Thanks in advance for any help!