[Nix-dev] How to package FZF?

Spencer Whitt sw at swhitt.me
Sat Mar 7 17:08:14 CET 2015


Homebrew took the approach of packaging the install and uninstall scripts
themselves (for the user to run manually), as well as the fzf binary and
the shell completion scripts. You might be able to borrow that idea. Due to
the way the project is currently set up, I can't think of any more elegant
solution.
https://github.com/Homebrew/homebrew/blob/master/Library/Formula/fzf.rb


On Sat, Mar 7, 2015 at 8:22 AM, Matthias Beyer <mail at beyermatthias.de>
wrote:

> Hi,
>
> I want to package "fzf"[0], but I don't know where to start. Help would be
> highly appreciated!
>
> The problem I'm facing: fzf comes with an extensive install script[1] -
> I'm sure
> I can't just run it while installing, as I guess it is also interactive
> and so
> on.
>
> Besides, fzf is a go/ruby package, and I'm not sure how to package it.
>
> Any pointers where to look at and how to start would be highly appreciated!
>
> (I already packaged some stuff for NixOS, so I know how to do the basic
> plumbing, just looking for suggestions on how to start with this particular
> piece of software)
>
> [0]: https://github.com/junegunn/fzf
> [1]: https://github.com/junegunn/fzf/blob/master/install
>
> PS: There is also an extensive uninstall-script, but I guess this does not
> matter that much for the first strike, does it? :-)
>
> --
> Mit freundlichen Grüßen,
> Kind regards,
> Matthias Beyer
>
> Proudly sent with mutt.
> Happily signed with gnupg.
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150307/2e4bbc6c/attachment-0001.html 


More information about the nix-dev mailing list