chore(dev): update Nix env, gitignore and dependencies

This commit is contained in:
RhenCloud 2026-08-02 06:48:49 +08:00
parent 114776d5af
commit ccab01d23a
No known key found for this signature in database
GPG key ID: A574A617378C4E0B
4 changed files with 118 additions and 127 deletions

View file

@ -6,10 +6,18 @@
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let pkgs = import nixpkgs { inherit system; };
in {
outputs =
{
self,
nixpkgs,
flake-utils,
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs { inherit system; };
in
{
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
bun
@ -24,5 +32,6 @@
};
formatter = nixpkgs.legacyPackages.${system}.nixfmt;
});
}
);
}