From 84fc46b5fec807fb49b74a3d59c7267222b9fe32 Mon Sep 17 00:00:00 2001 From: "lei.chen" Date: Sat, 1 Aug 2026 03:04:10 +0000 Subject: [PATCH] chore(nix): drop redundant capnpc override from flake.nix overlay The merged origin/working commit e0c5e8b pins capnpc's source to an immutable commit directly in src/nixSupport/xce.nix (bug-918 canonical fix, verified with a full controller_unit_test build: 978 Tests 0 Failures). The flake.nix overlay from 98066db solved the same bug with a ghfast.top-proxied fetchurl tarball; keeping both is redundant and the proxied tarball hash differs from GitHub's git-archive. Keep the fetchFromGitHub pin in xce.nix (idiomatic, no third-party mirror, scoped to the build), drop the global pkgs overlay. Co-Authored-By: Claude --- src/flake.nix | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/flake.nix b/src/flake.nix index e289a400..811fe85a 100644 --- a/src/flake.nix +++ b/src/flake.nix @@ -22,14 +22,6 @@ mypkgs = xbuild.packages.${system} // extralib.packages.${system} // librtti.packages.${system}; overlays = [ (final: prev: mypkgs // prev) - (final: prev: { - capnpc = prev.capnpc.overrideAttrs (oldAttrs: { - src = final.fetchurl { - url = "https://ghfast.top/https://github.com/shen390s/c-capnproto/archive/e45ff682c4756ac5067cbac6d0f282a8ea5f0155.tar.gz"; - hash = "sha256-zsiX6unPF45eISP6sqbQImrivJuSE0BF4bTP/db+lQY="; - }; - }); - }) ]; pkgs = import nixpkgs { inherit overlays system;}; xpkgs = import ./nixSupport/default.nix {