From 8909ef4eca0cbb38bf5956005618309d2931cab6 Mon Sep 17 00:00:00 2001 From: Henri Menke Date: Thu, 27 Aug 2026 09:50:03 +0200 Subject: [PATCH] flake.nix: reuse pkgs.ldc.src to match ldc-build-runtime --- flake.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index 406509e..257814b 100644 --- a/flake.nix +++ b/flake.nix @@ -93,13 +93,8 @@ # ============================================================ # LDC source for building runtime (with ARM musl patch applied) - ldcSrcUnpatched = pkgs.fetchFromGitHub { - owner = "ldc-developers"; - repo = "ldc"; - tag = "v${pkgs.ldc.version}"; - hash = "sha256-6LcpY3LSFK4KgEiGrFp/LONu5Vr+/+vI04wEEpF3s+s="; - fetchSubmodules = true; - }; + # - Reuse nixpkgs' own LDC source so it always matches the ldc-build-runtime + ldcSrcUnpatched = pkgs.ldc.src; # Apply ARM musl patches to LDC source # - stat.d: Add stat_t for musl ARM (correct struct size)