package gim-nix and document it

This commit is contained in:
Domen Kožar
2014-09-12 00:26:51 +02:00
parent 2632afa131
commit aa162b388d
4 changed files with 37 additions and 7 deletions
@@ -29,13 +29,7 @@ rec {
longDescription = ''
Nix can create nix packages from gems.
To use it do the following:
1. Install rubygems and rubyLibs.nix.
2. Add $your_profile/${ruby.gemPath} to GEM_PATH.
3. export RUBYLIB=$your_profile/lib RUBYOPT=rubygems.
4. Run `gem nix --[no-]user-install gem1 gem2 ...` to generate Nix
expression from gem repository.
5. Install rubyLibs.gem1 etc.
To use it by installing gem-nix package.
'';
};