update assets

This commit is contained in:
Sense T
2026-05-20 05:32:38 +00:00
parent 0a9482039e
commit 36d8167a14
+7 -2
View File
@@ -2,17 +2,20 @@
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
utils.url = "github:numtide/flake-utils"; utils.url = "github:numtide/flake-utils";
treefmt-nix.url = "github:numtide/treefmt-nix";
}; };
outputs = outputs =
{ nixpkgs, utils, ... }: { nixpkgs, utils, treefmt-nix,... }:
utils.lib.eachDefaultSystem ( utils.lib.eachDefaultSystem (
system: system:
let let
pkgs = import nixpkgs { inherit system; }; pkgs = import nixpkgs { inherit system; };
treefmtEval = treefmt-nix.lib.evalModule pkgs ./treefmt.nix;
inherit (pkgs) mkShell; inherit (pkgs) mkShell;
in in
{ rec {
formatter = treefmtEval.config.build.wrapper;
devShell = mkShell { devShell = mkShell {
buildInputs = with pkgs; [ buildInputs = with pkgs; [
nodejs nodejs
@@ -20,6 +23,8 @@
]; ];
}; };
devShells.default = devShell;
NPM_CONFIG_REGISTRY = "https://registry.npmmirror.com"; NPM_CONFIG_REGISTRY = "https://registry.npmmirror.com";
} }
); );