nixpkgs/pkgs/development/compilers/chicken/4/default.nix
Daniel Nagy e168e46338
chickenPackages: recurse into attrs
This makes chicken packages (eggs) discoverable.

This came up during:

https://github.com/NixOS/nixpkgs/pull/165023#issuecomment-1116655349
2022-05-04 12:02:09 +02:00

21 lines
466 B
Nix

{ lib, newScope } :
let
callPackage = newScope self;
self = {
pkgs = self;
fetchegg = callPackage ./fetchegg { };
eggDerivation = callPackage ./eggDerivation.nix { };
chicken = callPackage ./chicken.nix {
bootstrap-chicken = self.chicken.override { bootstrap-chicken = null; };
};
chickenEggs = lib.recurseIntoAttrs (callPackage ./eggs.nix { });
egg2nix = callPackage ./egg2nix.nix { };
};
in lib.recurseIntoAttrs self