Skip to content

Commit f97423f

Browse files
committed
nixStatic: backport fix for aarch64-darwin
1 parent e1b4124 commit f97423f

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

pkgs/tools/package-management/nix/default.nix

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,13 @@ let
111111
hash = "sha256-s1ybRFCjQaSGj7LKu0Z5g7UiHqdJGeD+iPoQL0vaiS0=";
112112
};
113113

114+
patch-fix-aarch64-darwin-static = fetchpatch {
115+
# https://github.com/NixOS/nix/pull/8068
116+
name = "fix-aarch64-darwin-static.patch";
117+
url = "https://github.com/NixOS/nix/commit/220aa8e0ac9d17de2c9f356a68be43b673d851a1.patch";
118+
hash = "sha256-YrmFkVpwPreiig1/BsP+DInpTdQrPmS7bEY0WUGpw+c=";
119+
};
120+
114121
in lib.makeExtensible (self: {
115122
nix_2_3 = (common rec {
116123
version = "2.3.16";
@@ -170,6 +177,9 @@ in lib.makeExtensible (self: {
170177
nix_2_13 = common {
171178
version = "2.13.3";
172179
hash = "sha256-jUc2ccTR8f6MGY2pUKgujm+lxSPNGm/ZAP+toX+nMNc=";
180+
patches = [
181+
patch-fix-aarch64-darwin-static
182+
];
173183
};
174184

175185
nix_2_14 = common {

0 commit comments

Comments
 (0)