From 127e3acb95f03bc28a3456a858c96f345d346a8f Mon Sep 17 00:00:00 2001 From: Yingchi Long Date: Thu, 2 May 2024 11:55:32 +0800 Subject: [PATCH 1/2] flake: cleanup `flake.nix` --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index b07fa9150..90c96d9f2 100644 --- a/flake.nix +++ b/flake.nix @@ -12,9 +12,9 @@ inputs.flake-parts.flakeModules.easyOverlay inputs.flake-root.flakeModule ]; - perSystem = { config, self', inputs', pkgs, system, ... }: - with pkgs; + perSystem = { config, pkgs, ... }: let + inherit (pkgs) nixVersions llvmPackages_16 callPackage stdenv; nix = nixVersions.nix_2_19; llvmPackages = llvmPackages_16; nixd = callPackage ./default.nix { From aec334abc5c0d4c545a54e18adee55e03b153ee6 Mon Sep 17 00:00:00 2001 From: Yingchi Long Date: Thu, 2 May 2024 11:56:09 +0800 Subject: [PATCH 2/2] flake: update the lock --- flake.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/flake.lock b/flake.lock index 051c7d3c7..21a9a7e86 100644 --- a/flake.lock +++ b/flake.lock @@ -5,11 +5,11 @@ "nixpkgs-lib": "nixpkgs-lib" }, "locked": { - "lastModified": 1712014858, - "narHash": "sha256-sB4SWl2lX95bExY2gMFG5HIzvva5AVMJd4Igm+GpZNw=", + "lastModified": 1714606777, + "narHash": "sha256-bMkNmAXLj8iyTvxaaD/StcLSadbj1chPcJOjtuVnLmA=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "9126214d0a59633752a136528f5f3b9aa8565b7d", + "rev": "4d34ce6412bc450b1d4208c953dc97c7fc764f1a", "type": "github" }, "original": { @@ -35,11 +35,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1713596654, - "narHash": "sha256-LJbHQQ5aX1LVth2ST+Kkse/DRzgxlVhTL1rxthvyhZc=", + "lastModified": 1714562304, + "narHash": "sha256-Mr3U37Rh6tH0FbaDFu0aZDwk9mPAe7ASaqDOGgLqqLU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "fd16bb6d3bcca96039b11aa52038fafeb6e4f4be", + "rev": "bcd44e224fd68ce7d269b4f44d24c2220fd821e7", "type": "github" }, "original": { @@ -52,11 +52,11 @@ "nixpkgs-lib": { "locked": { "dir": "lib", - "lastModified": 1711703276, - "narHash": "sha256-iMUFArF0WCatKK6RzfUJknjem0H9m4KgorO/p3Dopkk=", + "lastModified": 1714253743, + "narHash": "sha256-mdTQw2XlariysyScCv2tTE45QSU9v/ezLcHJ22f0Nxc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "d8fe5e6c92d0d190646fb9f1056741a229980089", + "rev": "58a1abdbae3217ca6b702f03d3b35125d88a2994", "type": "github" }, "original": {