chickadee » beaker » eggProgram

eggProgramprocedure

Builds any eggs in the given src directory, bundling all dependencies and placing the resulting binaries into <path>/bin.

Egg dependencies must be provided via eggCache so that all inputs are known at build time. If any dependencies are missing from the cache, the build will fail with the error message "extension or version not found: <egg>".

eggProgram {
  name = "example-program";
  src = ./.;
  eggCache = eggCache { ... };
}

Apart from eggCache, this derivation accepts all the same attributes as stdenv.mkDerivation.