e168e46338
This makes chicken packages (eggs) discoverable. This came up during: https://github.com/NixOS/nixpkgs/pull/165023#issuecomment-1116655349
21 lines
466 B
Nix
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
|