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 = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
utils.url = "github:numtide/flake-utils";
treefmt-nix.url = "github:numtide/treefmt-nix";
};
outputs =
{ nixpkgs, utils, ... }:
{ nixpkgs, utils, treefmt-nix,... }:
utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs { inherit system; };
treefmtEval = treefmt-nix.lib.evalModule pkgs ./treefmt.nix;
inherit (pkgs) mkShell;
in
{
rec {
formatter = treefmtEval.config.build.wrapper;
devShell = mkShell {
buildInputs = with pkgs; [
nodejs
@@ -20,6 +23,8 @@
];
};
devShells.default = devShell;
NPM_CONFIG_REGISTRY = "https://registry.npmmirror.com";
}
);