From 287ec7e851a9d1f65284cbc1e61f81ff508c5e72 Mon Sep 17 00:00:00 2001 From: oluceps Date: Thu, 15 Dec 2022 13:25:18 +0800 Subject: [PATCH 1/2] chore: update flake lock --- flake.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index 7da95ac3..eba25bf6 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1664705630, - "narHash": "sha256-MLi1J9tIZQFj8v9RKmG89HJAE5ja3z4ui4Tf9+wG/bM=", + "lastModified": 1671072901, + "narHash": "sha256-eyFdLtfxYyZnbJorRiZ2kP2kW4gEU76hLzpZGW9mcZg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "f71b215225dec75df6266ff7764d54c2e44ef226", + "rev": "69ce4fbad877f91d4b9bc4cfedfb0ff1fe5043d5", "type": "github" }, "original": { @@ -24,11 +24,11 @@ }, "utils": { "locked": { - "lastModified": 1659877975, - "narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=", + "lastModified": 1667395993, + "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", "owner": "numtide", "repo": "flake-utils", - "rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0", + "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", "type": "github" }, "original": { From 98b73776433f2acb6cec870fcb4c9513b2beb424 Mon Sep 17 00:00:00 2001 From: oluceps Date: Thu, 15 Dec 2022 13:25:56 +0800 Subject: [PATCH 2/2] fix: spec Go 119 for nix build --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 2b775e2f..c372ff4b 100644 --- a/flake.nix +++ b/flake.nix @@ -23,12 +23,12 @@ { overlay = final: prev: { - clash-meta = final.buildGoModule { + clash-meta = final.buildGo119Module { pname = "clash-meta"; inherit version; src = ./.; - vendorSha256 = "sha256-yhq4WHQcS4CrdcO6KJ5tSn4m7l5g1lNgE9/2BWd9Iys="; + vendorSha256 = "sha256-XVz2vts4on42lfxnov4jnUrHzSFF05+i1TVY3C7bgdw="; # Do not build testing suit excludedPackages = [ "./test" ];