Re: [Nix-dev] How to package FZF?

2015-03-07 Thread Spencer Whitt
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

[Nix-dev] How to package FZF?

2015-03-07 Thread Matthias Beyer
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,

Re: [Nix-dev] Bash completion makes bash startup awefully slow

2015-03-07 Thread Matthias Beyer
This time to the list as well.. So, sorry for taking so long to reply, I've been rather busy. On 14-02-2015 11:54:51, Wout Mertens wrote: Err, can you quantify how slow bash starts up? It's something between 0.8 and 1.5 sec on my 8core 16GB ram machine. This is definitely too slow to work

Re: [Nix-dev] How to add tools to a nix-shell environment for haskell development?

2015-03-07 Thread Michael Alan Dorman
Yes, Rich, that's very helpful. Mike. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] How to add tools to a nix-shell environment for haskell development?

2015-03-07 Thread Michael Alan Dorman
Hi, Peter, On Fri, Mar 6, 2015, at 07:42 AM, Peter Simons wrote: why don't you just add those tools into your user's profile? That's a reasonable question, with two answers: The short answer is that the examples I gave weren't the best, they were just what sorted first in my list of Haskell

Re: [Nix-dev] How to add tools to a nix-shell environment for haskell development?

2015-03-07 Thread Michael Alan Dorman
Many thanks, Daniel, that's exactly the sort of thing I was looking for. Mike. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] Haskell NG: let's update the wiki

2015-03-07 Thread Nikita Karetnikov
The current Haskell package set will be removed in a few weeks: https://github.com/NixOS/nixpkgs/pull/6670#issuecomment-77688859 So it'd be nice to prepare the wiki. I've added a new section and a useful snippet: https://nixos.org/wiki/Haskell#Haskell_NG I cannot just paste the other code