diff options
| author | Xe Iaso <me@xeiaso.net> | 2024-03-05 13:14:09 -0500 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2024-03-05 13:16:41 -0500 |
| commit | a0358e26e7c267d67cb139698ef2057d3d970f57 (patch) | |
| tree | bda012d671f971a2cbb3cfd24a0fbf609d15613a | |
| parent | b2c812218eb779e4a873c28f5066b2ca92dd7e58 (diff) | |
| download | x-a0358e26e7c267d67cb139698ef2057d3d970f57.tar.xz x-a0358e26e7c267d67cb139698ef2057d3d970f57.zip | |
fix builds??
Signed-off-by: Xe Iaso <me@xeiaso.net>
| -rw-r--r-- | .go.mod.sri | 2 | ||||
| -rw-r--r-- | flake.nix | 15 |
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= @@ -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 |
