summaryrefslogtreecommitdiff
path: root/Biz/Packages.nix
diff options
context:
space:
mode:
Diffstat (limited to 'Biz/Packages.nix')
-rw-r--r--Biz/Packages.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/Biz/Packages.nix b/Biz/Packages.nix
new file mode 100644
index 0000000..6b17fe5
--- /dev/null
+++ b/Biz/Packages.nix
@@ -0,0 +1,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;
+}