tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
libressl: add loongarch64-linux support
Weijia Wang
9 months ago
6dcaf56f
0571e373
+15
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
libressl
default.nix
+15
pkgs/development/libraries/libressl/default.nix
···
174
174
libressl_4_0 = generic {
175
175
version = "4.0.0";
176
176
hash = "sha256-TYQZVfCsw9/HHQ49018oOvRhIiNQ4mhD/qlzHAJGoeQ=";
177
177
+
# Fixes build on loongarch64
178
178
+
# https://github.com/libressl/portable/pull/1146
179
179
+
patches = [
180
180
+
(fetchpatch {
181
181
+
name = "0100-ALT-basic-loongarch64-support.patch";
182
182
+
url = "https://git.altlinux.org/gears/L/LibreSSL.git?p=LibreSSL.git;a=blob_plain;f=patches/0100-ALT-basic-loongarch64-support.patch;hb=70ddea860b8b62531bd3968bf4d7a5c4b7086776";
183
183
+
stripLen = 2;
184
184
+
extraPrefix = "";
185
185
+
postFetch = ''
186
186
+
substituteInPlace "$out" \
187
187
+
--replace-fail "a//dev/null" "/dev/null"
188
188
+
'';
189
189
+
hash = "sha256-dEdtmHHiR7twAqgebXv1Owle/KYCak71NhDCp0PdseU=";
190
190
+
})
191
191
+
];
177
192
};
178
193
}