2011-01-21 09:25:02 +01:00
|
|
|
{stdenv, config, fetchurl, callPackage}:
|
2011-01-21 09:24:52 +01:00
|
|
|
|
|
|
|
let
|
2011-01-21 09:25:02 +01:00
|
|
|
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;
|
2011-01-21 09:24:52 +01:00
|
|
|
in
|
|
|
|
gems
|