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