commit 74b8c98aafd0342b14e719f4fe64f8b15364d32f parent 0a737c62cd2fea82787774bcc4bdd1901882ffa7 Author: Daniel Barlow <dan@telent.net> Date: Tue, 12 Sep 2023 18:44:43 +0100 kludge fix openssl build Diffstat:
| M | overlay.nix | | | 13 | +++++++++++++ |
1 file changed, 13 insertions(+), 0 deletions(-)
diff --git a/overlay.nix b/overlay.nix @@ -170,5 +170,18 @@ extraPkgs // { ''; }); + openssl = prev.openssl.overrideAttrs (o: { + # we want to apply + # https://patch-diff.githubusercontent.com/raw/openssl/openssl/pull/20273.patch"; + # which disables overriding the -march cflags to the wrong values, + # but openssl is used for bootstrapping so that's easier said than + # done. Do it the ugly way.. + postPatch = + o.postPatch + + (with final; + lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) + "\nsed -i.bak 's/linux.*-mips/linux-mops/' Configure\n"); + }); + pppBuild = prev.ppp; }