https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
12 lines
245 B
Nix
12 lines
245 B
Nix
{
|
|
rake = {
|
|
groups = ["default"];
|
|
platforms = [];
|
|
source = {
|
|
remotes = ["https://rubygems.org"];
|
|
sha256 = "1sy5a7nh6xjdc9yhcw31jji7ssrf9v5806hn95gbrzr998a2ydjn";
|
|
type = "gem";
|
|
};
|
|
version = "12.3.2";
|
|
};
|
|
}
|