~misterio/sistemer-bot

94a58b9a025ef66d475e01e1243aef69a3f56fcf — Gabriel Fontes 2 years ago e2d9700
consertar app do flake
1 files changed, 5 insertions(+), 2 deletions(-)

M flake.nix
M flake.nix => flake.nix +5 -2
@@ 8,14 8,17 @@
    flake-compat.flake = false;
  };
  outputs = { self, nixpkgs, flake-utils, flake-compat }:
  flake-utils.lib.eachDefaultSystem (system: 
  flake-utils.lib.eachDefaultSystem (system:
    let
      name = "sistemer-bot";
      pkgs = (import nixpkgs { inherit system; });
    in rec {
      packages.${name} = (import ./Cargo.nix { inherit pkgs; }).rootCrate.build;
      defaultPackage = packages.${name};
      apps.${name} = flake-utils.lib.mkApp { drv = packages.${name}; };
      apps.${name} = {
        type = "app";
        program = "${packages.${name}}/bin/${name}";
      };
      defaultApp = apps.${name};
      devShell = pkgs.mkShell {
        buildInputs = with pkgs;