~cyplo/bakare

f29388f42b85375bdf8a68be71747b4ddc633a7f — Cyryl Płotnicki 2 months ago a2eb830 master
reformat flake
1 files changed, 4 insertions(+), 6 deletions(-)

M flake.nix
M flake.nix => flake.nix +4 -6
@@ 14,8 14,7 @@
      let
        pkgs = nixpkgs.legacyPackages."${system}";
        naersk-lib = naersk.lib."${system}";
      in
      rec {
      in rec {
        # `nix build`
        packages.bakare = naersk-lib.buildPackage {
          pname = "bakare";


@@ 24,9 23,7 @@
        defaultPackage = packages.bakare;

        # `nix run`
        apps.bakare = utils.lib.mkApp {
          drv = packages.bakare;
        };
        apps.bakare = utils.lib.mkApp { drv = packages.bakare; };
        defaultApp = apps.bakare;

        # `nix develop`


@@ 49,7 46,8 @@
            rustc
            rustfmt
          ];
          RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
          RUST_SRC_PATH =
            "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
        };
      });
}