Commit Graph

7123 Commits

Author SHA1 Message Date
Thiago Kenji Okada
e3e7a85fbd
Merge pull request #209090 from thiagokokada/bump-python2
python27: 2.7.18.5 -> 2.7.18.6
2023-01-05 13:02:05 +00:00
Arnout Engelen
af0b453724
Merge pull request #208103 from raboof/neovim-reproducible
neovim: make the build reproducible
2023-01-05 13:17:38 +01:00
Thiago Kenji Okada
b0ac530007 python27: 2.7.18.5 -> 2.7.18.6 2023-01-04 21:12:03 +00:00
Thiago Kenji Okada
0992faa347
Merge pull request #206642 from thiagokokada/python27-use-system-libs
python27: use ffi/expat as system libraries
2023-01-04 16:34:21 +00:00
Sandro
daf4e55ddb
Merge pull request #208194 from wegank/chibi-darwin
Closes https://github.com/NixOS/nixpkgs/issues/190889
2023-01-03 23:22:39 +01:00
Mario Rodas
c5a38863e4
Merge pull request #205337 from Radvendii/patch-1
ruby: add `buildGems` to passthru
2023-01-03 09:21:17 -05:00
Maximilian Bosch
f0d67d8732
evcxr: 0.14.1 -> 0.14.2
ChangeLog: https://github.com/google/evcxr/releases/tag/v0.14.2
2023-01-02 10:09:35 +01:00
Arnout Engelen
90c4a2ebc3
neovim: make the build reproducible
This introduces a patch that improves binary reproducibility since changes in
ordering of the generated code indeed cause changes in the compiled code.

Additionally, since neovim embeds luajit-compiled bytecode into the nvim binary,
we are impacted by https://github.com/LuaJIT/LuaJIT/issues/626 . It is possible
to switch to lua 5.1, but that'd be a regression (luajit has much better
performance and some plugins depend on it, like for example Noice and Lazy).
Disabling `COMPILE_LUA` at build time would cause a runtime penalty each time
neovim starts. Instead, we run luagit with those security settings disabled for
the build-time code generation.

(Note to self: for a minimized testcase this seemed to help at
975ec13f5d5aefcac1dbb15fa867e660e07c93a1 but no longer at
03080b795aa3496ed62d4a0697c9f4767e7ca7e5 of luajit, which is surprising since
that commit doesn't look super relevant. _Also_ surprisingly it does seem to
work in the context of the neovim code generation, though, so that might be
good enough...)

Also, some of the code generation (using mpack and tables) still relies on
stable table ordering. This should eventually be fixed, but as a workaround
we use the luajit-with-stable-string-ids for those generators as well.

Fixes #207841
2023-01-01 15:50:12 +01:00
sternenseemann
c7667f198f cbqn: drop obsolete darwin flags
This was already done in f5c7a97d53, but
reverted later by accident.
2022-12-30 18:49:53 +01:00
sternenseemann
2f3f2c82c8 cbqn: install headers and shared library
This is useful for embedding CBQN and writing libraries that can be used
via the CBQN FFI.
2022-12-30 18:49:53 +01:00
Sandro
726088a964
Merge pull request #206812 from SuperSandro2000/luajit-openresty 2022-12-30 03:11:54 +01:00
Weijia Wang
182e336979 chibi: fix wrapping on darwin 2022-12-29 06:34:22 +01:00
R. Ryantm
57dbff4228 erlang_odbc: 24.3.4.6 -> 24.3.4.7 2022-12-27 23:48:39 -05:00
K900
fe78d26e80
Merge pull request #207564 from ereslibre/wasmtime-4.0.0
wasmtime: 3.0.1 -> 4.0.0
2022-12-26 12:05:55 +03:00
Sandro Jäckel
56acc4566e
luajit_openresty: init at 2.1-20220915 2022-12-26 02:57:06 +01:00
Sandro
f4c3e67d80
Merge pull request #206807 from SuperSandro2000/lua-sourceVersion 2022-12-25 21:42:47 +01:00
Rafael Fernández López
a8153ecbd8
wasmtime: 3.0.1 -> 4.0.0 2022-12-24 14:06:50 +01:00
R. Ryantm
d9c3fbfcdc erlangR25: 25.1.2 -> 25.2 2022-12-24 07:50:37 -05:00
R. Ryantm
3f6ffe5977 erlangR23: 23.3.4.17 -> 23.3.4.18 2022-12-22 13:16:28 -05:00
R. Ryantm
78317d420d erlangR24: 24.3.4.5 -> 24.3.4.6 2022-12-22 11:22:00 -05:00
Sandro Jäckel
b374880027
interpreters/lua: replace sourceVersion with lib.versions 2022-12-22 05:14:31 +01:00
Narazaki, Shuji
efbce7d4aa cbqn: add enableReplxx option 2022-12-21 14:17:29 +09:00
Valentin Gagarin
f782da699e
Merge pull request #206646 from figsoda/typos 2022-12-18 18:27:57 +01:00
Thiago Kenji Okada
47f904bad1 python27: use ffi/expat as system libraries
Without `--with-system-{ffi,expat}` flags, Python will use its own
embedded libraries that are out-of-date. Thanks to it, they can be a
security issue. So let's use our own libraries instead.

This is already what Python 3.x does, so should be safe.
2022-12-18 12:32:51 +00:00
figsoda
ec8cb34358 treewide: fix typos 2022-12-17 19:39:44 -05:00
Anderson Torres
a4807c14ff
Merge pull request #206641 from atorres1985-contrib/nickel
nickel: fill meta.changelog
2022-12-17 21:23:44 -03:00
Anderson Torres
06db865023
Merge pull request #206605 from r-ryantm/auto-update/nickel
nickel: 0.3.0 -> 0.3.1
2022-12-17 21:04:57 -03:00
AndersonTorres
ed7c556639 nickel: fill meta.changelog 2022-12-17 21:04:11 -03:00
Sandro Jäckel
04a1c0d7ad
treewide: fix quoting of GITHUB_TOKEN in curl 2022-12-17 23:32:43 +01:00
R. Ryantm
44a3bccab9 nickel: 0.3.0 -> 0.3.1 2022-12-17 20:34:27 +00:00
github-actions[bot]
30b97b0e83
Merge master into staging-next 2022-12-17 00:02:17 +00:00
Thiago Kenji Okada
bc884bf9e0
Merge pull request #206143 from thiagokokada/strip-down-python2-resholve-further
resholve: strip unused libraries from python27
2022-12-16 22:59:54 +00:00
github-actions[bot]
b9ac6ee4d9
Merge master into staging-next 2022-12-16 00:02:17 +00:00
Artturin
05a2dfd674 lib.replaceChars: warn about being a deprecated alias
replaceStrings has been in nix since 2015(nix 1.10)

so it is safe to remove the fallback

d6d5885c15
2022-12-15 22:25:51 +02:00
github-actions[bot]
eaf7260c5b
Merge master into staging-next 2022-12-15 18:01:21 +00:00
R. Ryantm
88b3cc8ecc wasmer: 3.0.2 -> 3.1.0 2022-12-15 05:35:36 +00:00
Thiago Kenji Okada
283ecac082 resholve: strip unused libraries from python27
Strip unused libraries from resholve's own python27 derivation, further
reducing its size and reducing its attack surface.
2022-12-15 00:07:02 +00:00
github-actions[bot]
1e7dd98694
Merge master into staging-next 2022-12-14 00:02:18 +00:00
Rick van Schijndel
9833d56c24 treewide: mark packages broken that never built on PLATFORM
Done with the help of https://github.com/Mindavi/nixpkgs-mark-broken
Tool is still WIP but this is one of the first results.

I manually audited the results and removed some results that were not valid.

Note that some of these packages maybe should have more constrained platforms set
instead of broken set, but I think not being perfectly correct is better than
just keep trying to build all these things and never succeeding.

Some observations:

- Some darwin builds require XCode tools
- aarch64-linux builds sometimes suffer from using gcc9
  - gcc9 is getting older and misses some new libraries/features
- Sometimes tools try to do system detection or expect some explicit settings for
  platforms that are not x86_64-linux
2022-12-13 21:40:12 +01:00
github-actions[bot]
d07c2d73fd
Merge master into staging-next 2022-12-13 18:01:30 +00:00
figsoda
126bb19304
Merge pull request #205815 from thiagokokada/strip-down-python2-resholve
resholve: use stripped-down python27
2022-12-13 11:02:30 -05:00
Thiago Kenji Okada
2e943fc060 resholve: use stripped-down python27
This PR strips down the modified `python27` derivation used by `resholve`. The
idea is to reduce the possible security issues, and also to make it easier to
bootstrap.
2022-12-13 14:37:00 +00:00
github-actions[bot]
a680c884cc
Merge master into staging-next 2022-12-13 00:02:19 +00:00
Juuso Haavisto
f5c7a97d53 cbqn: remove unnecessary darwin build flag 2022-12-13 00:28:12 +01:00
Vladimír Čunát
1a5af95367
python311: revert asyncio changes done in 3.11.1
Almost same as in the parent commit.
2022-12-12 14:33:17 +01:00
Vladimír Čunát
9ee1d16c36
python310: revert asyncio changes done in 3.10.9
They brought significant regressions.  Upstream is now discussing
what to do, but we still want the security fixes from 3.10.9.
2022-12-12 14:23:49 +01:00
R. Ryantm
ebb5623e04 clojure: 1.11.1.1200 -> 1.11.1.1208 2022-12-12 12:46:49 +00:00
github-actions[bot]
fe25c2a8d8
Merge master into staging-next 2022-12-10 18:01:12 +00:00
Robert Scott
3cab5aa3bf
Merge pull request #205504 from r-ryantm/auto-update/nickel
nickel: 0.2.1 -> 0.3.0
2022-12-10 17:43:27 +00:00
Jörg Thalheim
fa3cc9fddd
Merge pull request #202040 from Mic92/luajit
luajit: riscv fixes
2022-12-10 17:23:03 +00:00