aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorQuentin <quentin@dufour.io>2024-06-24 10:15:56 +0000
committerQuentin <quentin@dufour.io>2024-06-24 10:15:56 +0000
commit9917429da3b06462969b41d511ad4daf27eaf197 (patch)
tree1a27c40a1ff9123b5552769fcf3cbb543d8dc959 /flake.nix
parente7e05ed929c92c2b9d193f8193878c1a8a74c43c (diff)
parentbc7bc61f7449b1f41ed9eb46388ab0c149856f96 (diff)
downloadguichet-9917429da3b06462969b41d511ad4daf27eaf197.tar.gz
guichet-9917429da3b06462969b41d511ad4daf27eaf197.zip
Merge pull request 'per-bucket keys' (#68) from feat-per-bucket-key into mainmain
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/guichet/pulls/68
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/flake.nix b/flake.nix
index 5d69f9f..3b6ad3b 100644
--- a/flake.nix
+++ b/flake.nix
@@ -12,9 +12,6 @@
system = "x86_64-linux";
overlays = [
(import "${gomod2nix}/overlay.nix")
- /*(self: super: {
- gomod = super.callPackage "${gomod2nix}/builder/" { };
- })*/
];
};
src = ./.;
@@ -38,10 +35,16 @@
platforms = platforms.linux;
};
};
+
+
container = pkgs.dockerTools.buildImage {
name = "dxflrs/guichet";
+ copyToRoot = pkgs.buildEnv {
+ name = "guichet-env";
+ paths = [ guichet pkgs.cacert ];
+ };
config = {
- Entrypoint = "${guichet}/bin/guichet";
+ Entrypoint = "/bin/guichet";
};
};
in {