1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00
nixpkgs/pkgs/development/interpreters/ruby/libs.nix

13 lines
417 B
Nix
Raw Normal View History

{stdenv, config, fetchurl, callPackage}:
let
generated = stdenv.lib.attrByPath [ "gems" "generated" ] (import ./generated.nix) config;
auto = generated merged;
patches = callPackage ./patches.nix { } gems;
overwrites = callPackage ./overwrites.nix { } gems;
merged = stdenv.lib.mapAttrs gem auto.gems;
gem = callPackage ./gem.nix { inherit patches overwrites; };
gems = merged // auto.aliases;
in
gems