From f3b74b2e044a1bf4dbf21d62dcf2eebc5ff33dd9 Mon Sep 17 00:00:00 2001 From: Sense T Date: Wed, 20 May 2026 06:10:32 +0000 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E7=A1=80=E7=8E=AF=E5=A2=83=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- flake.lock | 41 ++++++++++++++++++++++++++++++++++++++--- flake.nix | 7 ++++++- 2 files changed, 44 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index 8feba45..fa90c12 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1739019272, - "narHash": "sha256-7Fu7oazPoYCbDzb9k8D/DdbKrC3aU1zlnc39Y8jy/s8=", + "lastModified": 1778869304, + "narHash": "sha256-30sZNZoA1cqF5JNO9fVX+wgiQYjB7HJqqJ4ztCDeBZE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "fa35a3c8e17a3de613240fea68f876e5b4896aec", + "rev": "d233902339c02a9c334e7e593de68855ad26c4cb", "type": "github" }, "original": { @@ -16,9 +16,26 @@ "type": "github" } }, + "nixpkgs_2": { + "locked": { + "lastModified": 1770107345, + "narHash": "sha256-tbS0Ebx2PiA1FRW8mt8oejR0qMXmziJmPaU1d4kYY9g=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "4533d9293756b63904b7238acb84ac8fe4c8c2c4", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, "root": { "inputs": { "nixpkgs": "nixpkgs", + "treefmt-nix": "treefmt-nix", "utils": "utils" } }, @@ -37,6 +54,24 @@ "type": "github" } }, + "treefmt-nix": { + "inputs": { + "nixpkgs": "nixpkgs_2" + }, + "locked": { + "lastModified": 1775636079, + "narHash": "sha256-pc20NRoMdiar8oPQceQT47UUZMBTiMdUuWrYu2obUP0=", + "owner": "numtide", + "repo": "treefmt-nix", + "rev": "790751ff7fd3801feeaf96d7dc416a8d581265ba", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "treefmt-nix", + "type": "github" + } + }, "utils": { "inputs": { "systems": "systems" diff --git a/flake.nix b/flake.nix index a727b66..b6fc06e 100644 --- a/flake.nix +++ b/flake.nix @@ -6,7 +6,12 @@ }; outputs = - { nixpkgs, utils, treefmt-nix,... }: + { + nixpkgs, + utils, + treefmt-nix, + ... + }: utils.lib.eachDefaultSystem ( system: let