diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2024-03-11 22:48:22 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyich@gmail.com> | 2024-03-11 22:52:20 +0000 |
commit | d15ca5b8415167fe17f16872f1bb67bdde2a666d (patch) | |
tree | 9ea9408457b13d0286cb08cc2fd05929528a9d1a /pkgs/tools/networking | |
parent | 1809887dbe51fcf061c4244e0475d75d991f7547 (diff) | |
download | nixlib-d15ca5b8415167fe17f16872f1bb67bdde2a666d.tar nixlib-d15ca5b8415167fe17f16872f1bb67bdde2a666d.tar.gz nixlib-d15ca5b8415167fe17f16872f1bb67bdde2a666d.tar.bz2 nixlib-d15ca5b8415167fe17f16872f1bb67bdde2a666d.tar.lz nixlib-d15ca5b8415167fe17f16872f1bb67bdde2a666d.tar.xz nixlib-d15ca5b8415167fe17f16872f1bb67bdde2a666d.tar.zst nixlib-d15ca5b8415167fe17f16872f1bb67bdde2a666d.zip |
curl-impersonate: switch to `gcc-13`, disable blanket `-Werror`
While at it fixed build failure against `autoconf-2.71` by downgrading to `2.69`.
Diffstat (limited to 'pkgs/tools/networking')
-rw-r--r-- | pkgs/tools/networking/curl-impersonate/default.nix | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/pkgs/tools/networking/curl-impersonate/default.nix b/pkgs/tools/networking/curl-impersonate/default.nix index 070aab8d53f2..f4373e09b052 100644 --- a/pkgs/tools/networking/curl-impersonate/default.nix +++ b/pkgs/tools/networking/curl-impersonate/default.nix @@ -11,7 +11,10 @@ , python3 , ninja , perl -, autoconf +# autoconf-2.71 fails on problematic configure: +# checking curl version... 7.84.0 +# ./configure: line 6713: syntax error near unexpected token `;;' +, autoconf269 , automake , libtool , darwin @@ -40,6 +43,10 @@ let ./curl-impersonate-0.5.2-fix-shebangs.patch ]; + # Disable blanket -Werror to fix build on `gcc-13` related to minor + # warnings on `boringssl`. + env.NIX_CFLAGS_COMPILE = "-Wno-error"; + strictDeps = true; nativeBuildInputs = lib.optionals stdenv.isDarwin [ @@ -52,7 +59,7 @@ let python3.pkgs.gyp ninja perl - autoconf + autoconf269 automake libtool unzip |