diff options
author | Mateus Cruz <mateuscolvr@gmail.com> | 2024-02-06 03:08:10 -0300 |
---|---|---|
committer | Mateus Cruz <mateuscolvr@gmail.com> | 2024-02-06 03:15:27 -0300 |
commit | 606f39cb00766e5be46b38e3c3034e702c3795e6 (patch) | |
tree | 83a85fbb43b8da3980ed44bd7848c491af3e70fc /flake.nix | |
parent | db882cae080d3820f1723a711398c21db27f826a (diff) |
chore: rename app
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -21,8 +21,8 @@ pkgs' = pkgs.pkgsCross.musl64; - rinha = pkgs'.ocamlPackages.buildDunePackage { - pname = "rinha"; + combattant = pkgs'.ocamlPackages.buildDunePackage { + pname = "combattant"; version = "0.0.1"; src = ./.; buildInputs = with pkgs'.ocamlPackages; [ @@ -50,21 +50,21 @@ pkgs.openjdk17 ]; - buildInputs = rinha.buildInputs + buildInputs = combattant.buildInputs ++ (with pkgs'.ocamlPackages; [ utop ]); }; - packages.default = rinha; + packages.default = combattant; packages.docker = pkgs.dockerTools.buildImage { - name = "rinha"; + name = "ghcr.io/molvrr/combattant"; tag = "latest"; copyToRoot = pkgs.buildEnv { name = "image-root"; - paths = [ pkgs.bashInteractive pkgs.coreutils pkgs.curl rinha ]; + paths = [ pkgs.bashInteractive pkgs.coreutils pkgs.curl combattant ]; pathsToLink = [ "/bin" ]; }; - config = { Cmd = [ "rinha" ]; }; + config = { Cmd = [ "combattant" ]; }; }; formatter = pkgs.nixfmt; |