chickadee » beaker » eggRepository

eggRepositoryprocedure

Builds any eggs in the given src directory, producing a compiled egg repository under <path>/lib/chicken/<version> and placing any resulting binaries under <path>/bin.

Apart from eggCache, this derivation accepts all the same attributes as stdenv.mkDerivation. If no name is given, the string "eggs" is used.

The result is suitable for use in the buildInputs of an eggProgram, in order to satisfy its egg dependencies. Any dependencies not satisfied by a compiled eggRepository must be provided as sources via eggCache so that all inputs are known at build time.

# create an extension repository from source
eggRepository {
  src = ./.;
  eggCache = eggCache { ... };
}

If any dependencies are missing from both the inputs and cache, the build will fail with the error message "extension or version not found: <egg>".