mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
add documentation
This commit is contained in:
parent
3eeabc4523
commit
143698555a
@ -1,5 +1,31 @@
|
||||
{ ruby, lib, callPackage, gemFixes, fetchurl, buildRubyGem }@defs:
|
||||
|
||||
# This function builds a set of gems. You first convert your Gemfile to an attrset
|
||||
# called a "gemset", and then use this function to build the gemset.
|
||||
#
|
||||
# A gemset looks like the following:
|
||||
#
|
||||
# {
|
||||
# libv8 = {
|
||||
# version = "3.16.14.7";
|
||||
# src = {
|
||||
# type = "gem";
|
||||
# sha256 = "...";
|
||||
# };
|
||||
# };
|
||||
# therubyracer = {
|
||||
# version = "0.12.1";
|
||||
# dependencies = [ "libv8" ];
|
||||
# src = {
|
||||
# type = "gem";
|
||||
# sha256 = "...";
|
||||
# };
|
||||
# };
|
||||
# }
|
||||
#
|
||||
# If you use these gems as build inputs, the GEM_PATH will be updated
|
||||
# appropriately, and command like `bundle exec` should work out of the box.
|
||||
|
||||
{ gemset, ruby ? defs.ruby, fixes ? gemFixes }@args:
|
||||
|
||||
let
|
||||
|
Loading…
Reference in New Issue
Block a user