mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
beamPackages.rebar3: patch to fix OTP 29 support
rebar3 itself actually compiles, it's just the tests that are failing.
Patch to disable another warning until upstream fixes the tests.
(cherry picked from commit 09d3443b49)
This commit is contained in:
parent
c3deb40a7f
commit
da1fc00b07
1 changed files with 7 additions and 0 deletions
|
|
@ -48,6 +48,13 @@ let
|
|||
for i in _checkouts/* ; do
|
||||
ln -s $(pwd)/$i $(pwd)/_build/default/lib/
|
||||
done
|
||||
''
|
||||
# OTP 29 tests fail on warnings, fixed in https://github.com/erlang/rebar3/pull/2996
|
||||
+ lib.optionalString ((lib.versions.major erlang.version) == "29") ''
|
||||
substituteInPlace rebar.config --replace-fail 'nowarn_deprecated_catch' 'nowarn_deprecated_catch,nowarn_export_var_subexpr'
|
||||
|
||||
substituteInPlace apps/rebar/test/rebar_xref_SUITE.erl \
|
||||
--replace-fail 'xref_test, xref_ignore_test,' 'xref_test,'
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue