aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2024-03-05 13:14:09 -0500
committerXe Iaso <me@xeiaso.net>2024-03-05 13:16:41 -0500
commita0358e26e7c267d67cb139698ef2057d3d970f57 (patch)
treebda012d671f971a2cbb3cfd24a0fbf609d15613a
parentb2c812218eb779e4a873c28f5066b2ca92dd7e58 (diff)
downloadx-a0358e26e7c267d67cb139698ef2057d3d970f57.tar.xz
x-a0358e26e7c267d67cb139698ef2057d3d970f57.zip
fix builds??
Signed-off-by: Xe Iaso <me@xeiaso.net>
-rw-r--r--.go.mod.sri2
-rw-r--r--flake.nix15
2 files changed, 14 insertions, 3 deletions
diff --git a/.go.mod.sri b/.go.mod.sri
index 3fcdf22..231ef20 100644
--- a/.go.mod.sri
+++ b/.go.mod.sri
@@ -1 +1 @@
-sha256-h393xlDbuA+ZDo7Rrl7o3LoRQSs75iQ1IB2j7mNG+jA=
+sha256-Lz7RLPqdL7vzzU397rzJL90M5yro2KmFiRUphcb06ZA=
diff --git a/flake.nix b/flake.nix
index 9d43844..3085c15 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,4 +1,4 @@
-# nix-direnv cache busting line: sha256-h393xlDbuA+ZDo7Rrl7o3LoRQSs75iQ1IB2j7mNG+jA=
+# nix-direnv cache busting line: sha256-Lz7RLPqdL7vzzU397rzJL90M5yro2KmFiRUphcb06ZA=
{
description = "/x/perimental code";
@@ -255,13 +255,24 @@
xedn = pkgs.dockerTools.buildLayeredImage {
name = "registry.fly.io/xedn";
tag = "latest";
- contents = [ pkgs.cacert xedn ];
+ contents = [ pkgs.cacert xedn self.packages.${system}.xedn-static ];
config = {
Cmd = [ "${xedn}/bin/xedn" ];
WorkingDir = "${xedn}";
Env = [ "XEDN_STATIC=${self.packages.${system}.xedn-static}" ];
};
};
+ xedn-squished = pkgs.dockerTools.buildLayeredImage {
+ name = "registry.fly.io/xedn";
+ tag = "latest";
+ contents = [ pkgs.cacert xedn self.packages.${system}.xedn-static ];
+ config = {
+ Cmd = [ "${xedn}/bin/xedn" ];
+ WorkingDir = "${xedn}";
+ Env = [ "XEDN_STATIC=${self.packages.${system}.xedn-static}" ];
+ };
+ maxLayers = 10;
+ };
};
portable = {
xedn = let