aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2024-06-08 13:39:52 -0700
committerXe Iaso <me@xeiaso.net>2024-06-08 13:41:05 -0700
commitbb8a5a886c993fc943277e56b4c9065c1f3a82b2 (patch)
tree14de5be85b83b17553092f1f1c78b2b0d0b4cba3 /flake.nix
parent2f9125d0cbe232dbb0dcd64eab33af356d5d615c (diff)
downloadx-bb8a5a886c993fc943277e56b4c9065c1f3a82b2.tar.xz
x-bb8a5a886c993fc943277e56b4c9065c1f3a82b2.zip
cmd: add command future-sight for preview deployments
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix15
1 files changed, 14 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index b88806c..ba67b90 100644
--- a/flake.nix
+++ b/flake.nix
@@ -89,6 +89,13 @@
];
};
+ future-sight = pkgs.buildGo122Module {
+ pname = "future-sight";
+ inherit version vendorHash;
+ src = ./.;
+ subPackages = [ "cmd/future-sight" ];
+ };
+
mi = pkgs.buildGo122Module {
pname = "mi";
inherit version vendorHash;
@@ -269,7 +276,7 @@
path = "make-mastodon-app";
};
- inherit xedn xedn-static robocadey2 azurda mimi mi tourian sapientwindex within-website;
+ inherit xedn xedn-static future-sight robocadey2 azurda mimi mi tourian sapientwindex within-website;
aegis = copyFile { pname = "aegis"; };
cadeybot = copyFile { pname = "cadeybot"; };
@@ -298,6 +305,7 @@
azurda = self.packages.${system}.azurda;
within-website = self.packages.${system}.within-website;
hlang = self.packages.${system}.hlang;
+ future-sight = self.packages.${system}.future-sight;
simple = { name, cmd, pkg, contents ? [ pkgs.cacert ] }:
pkgs.dockerTools.buildLayeredImage {
@@ -311,6 +319,11 @@
};
in
{
+ future-sight = simple {
+ name = "ghcr.io/xe/x/future-sight";
+ pkg = future-sight;
+ cmd = [ "${future-sight}/bin/future-sight" ];
+ };
within-website = simple {
name = "ghcr.io/xe/x/within-website";
pkg = within-website;