summaryrefslogtreecommitdiff
path: root/Biz/Packages.nix
blob: 6b17fe55688183569317ffd2512f13a110c0fd9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Build all Biz packages independently, outside NixOS context.
#
# This file builds all Biz packages and returns them as an attribute set.
# The NixOS config (Biz.nix) will accept these as inputs rather than
# building them during OS evaluation.
#
# Usage:
#   nix-build Biz/Packages.nix        # builds all packages
#   nix-build Biz/Packages.nix -A storybook  # builds one package
{bild ? import ../Omni/Bild.nix {}}: {
  storybook = bild.run ../Biz/Storybook.py;
  podcastitlater-web = bild.run ../Biz/PodcastItLater/Web.py;
  podcastitlater-worker = bild.run ../Biz/PodcastItLater/Worker.py;
  dragons-analysis = bild.run ../Biz/Dragons/Analysis.hs;
}