08abc174f6
Also allow overwriting the 'generated' file. svn path=/nixpkgs/trunk/; revision=25656
13 lines
417 B
Nix
13 lines
417 B
Nix
{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
|