Commit graph

7209 commits

Author SHA1 Message Date
R. Ryantm 0166341b2c babashka: 1.0.168 -> 1.0.169 2023-01-07 03:59:42 +00:00
Martin Weinelt 5b308cd1df Merge remote-tracking branch 'origin/master' into staging-next 2023-01-06 19:10:05 +01:00
Adam Joseph c031cc5bf1 luajit: add powerpc64le-linux to badPlatforms 2023-01-06 16:03:23 +01:00
Martin Weinelt afd962b51c Merge remote-tracking branch 'origin/master' into staging-next 2023-01-05 17:16:26 +01:00
Elis Hirwing d6f6154cc7
Merge pull request #180827 from drupol/php/update-script
php: Provide an update script.
2023-01-05 14:14:36 +01:00
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
Pol Dellaiera 142ac0ba91
php: add updateScript 2023-01-05 13:42:31 +01:00
Martin Weinelt e75f5e8efa python37: drop
The package set hasn't been working for a long time now, due to infinite
recursions, that nobody was going to fix.

The release is going to go EOL in 2023/06 and we don't want to ship it
in NixOS 23.05 anyway.
2023-01-05 13:20:49 +01: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
Pol Dellaiera 041d551384
php81: 8.1.13 -> 8.1.14 2023-01-04 21:42:24 +01:00
github-actions[bot] 789ae2c93d
Merge staging-next into staging 2023-01-04 18:01:36 +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
Martin Weinelt e464bde9ba
Merge pull request #208962 from KAction/patch/v1/python3.pkgs.sphinxHook 2023-01-04 02:38:53 +01:00
Dmitry Bogatov 82ae2e8f06 python3.pkgs.sphinxHook: fix co-installability of generated documentation
Include full $name of the derivation into docdir, so documentation for
python package "foo" is installed into $out/share/doc/python3.10-foo-1.2.3
instead of just $out/share/doc/foo, where it may conflict with some
other package named "foo" and not-coinstallable with different
versions of the same python package.

Change from $name to $pname was introduced in [1ee5fca], probably as
unindented side-effect of adding support for formats other than html.
2023-01-03 20:28:48 -05:00
github-actions[bot] e859576396
Merge staging-next into staging 2023-01-04 00:03:20 +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
Pol Dellaiera 793d5252be
php82: 8.2.0 -> 8.2.1 2023-01-03 21:57:26 +01:00
Pol Dellaiera 19e31cd677
php80: 8.0.26 -> 8.0.27 2023-01-03 21:51:47 +01:00
github-actions[bot] e076f677a1
Merge staging-next into staging 2023-01-03 18:01:45 +00: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
Weijia Wang f6fd1b9a53 python312: fix build on darwin 2023-01-02 13:07:46 +01:00
github-actions[bot] ccef3ab7d8
Merge staging-next into staging 2023-01-02 12:02:01 +00: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
Jan Tojnar 5810109b42 Merge branch 'staging-next' into staging
- readline6 attribute removed from all-packages.nix in d879125d61
- readline attribute was bumped to readline82 in 50adabdd60
2023-01-02 03:04:32 +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
Robert Schütz fa3feb9f65 python3Packages.pythonImportsCheck: set $PYTHONPATH
Don't rely on the installPhase doing so.
2022-12-29 04:11:02 -08:00
Weijia Wang 182e336979 chibi: fix wrapping on darwin 2022-12-29 06:34:22 +01:00
Sergei Trofimovich 092d57c076 Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
    pkgs/development/tools/language-servers/ansible-language-server/default.nix
2022-12-28 09:35:37 +00: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
Artturin 58fa78077c treewide: use splicing convenience functions 2022-12-25 14:05:03 +02:00
Jan Tojnar 72c37eddec Merge branch 'staging-next' into staging 2022-12-25 01:30: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
github-actions[bot] dc7ebb0163
Merge staging-next into staging 2022-12-18 18:01:41 +00: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
github-actions[bot] ab5c904c51
Merge staging-next into staging 2022-12-18 06:01:44 +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
github-actions[bot] 7984a7dacb
Merge staging-next into staging 2022-12-18 00:05:50 +00: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] 61a0176830
Merge staging-next into staging 2022-12-17 00:02:50 +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
Vladimír Čunát 59a68f487d
Merge branch 'staging-next' into staging 2022-12-16 11:20:50 +01: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] 4db4181d93
Merge staging-next into staging 2022-12-14 00:02:53 +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] 74a066ab3f
Merge staging-next into staging 2022-12-13 18:02:08 +00: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] 8506553217
Merge staging-next into staging 2022-12-13 00:02:51 +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
github-actions[bot] cfbecb45cc
Merge staging-next into staging 2022-12-12 18:01:51 +00: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
Robert Hensing 16f5747575
Merge pull request #175649 from Artturin/opt-in-structured-attrs
stdenv: support opt-in __structuredAttrs
2022-12-10 21:12:43 +01:00
github-actions[bot] 54cd3a359f
Merge staging-next into staging 2022-12-10 18:01:48 +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
Jörg Thalheim 34342e25cf
Merge pull request #202041 from Mic92/ruby
ruby: fix cross compiling extensions
2022-12-10 17:21:25 +00:00
R. Ryantm 745a9856c6 nickel: 0.2.1 -> 0.3.0 2022-12-10 16:57:35 +00:00
Taeer Bar-Yam f943c3fb89
add buildGems to ruby passthru
This is useful for adding ruby gems that don't come with `nixpkgs`

i.e. `pkgs.ruby.withPackages (_: [ (pkgs.ruby.buildGems ./my-gemset.nix).foo ])`
2022-12-09 12:19:26 -05:00
github-actions[bot] 48b3a17dea
Merge master into staging-next 2022-12-09 12:01:30 +00:00
Vladimír Čunát 9c497bb8d6
Merge branch 'staging-next' into staging 2022-12-09 10:27:46 +01:00
Thiago Kenji Okada 49688ce655
Merge pull request #205258 from r-ryantm/auto-update/babashka
babashka: 1.0.167 -> 1.0.168
2022-12-09 09:06:22 +00:00
R. Ryantm 65a8bc63db babashka: 1.0.167 -> 1.0.168 2022-12-09 08:43:23 +00:00
Artturin adc8900df1 treewide: fix some core package structuredAttrs 2022-12-08 21:05:28 +02:00
Sandro 4cc7973ae6
Merge pull request #204658 from raphaelr/mbedtls-3 2022-12-08 16:38:17 +01:00
superherointj 2787fc7d1e erlang: fix build 2022-12-08 08:59:40 -05:00
Weijia Wang 166db6ef4b erlang: don't relink escript on darwin 2022-12-07 21:13:02 -05:00
Martin Weinelt b818d8a9b3
Merge pull request #204903 from mweinelt/cpython-changelog 2022-12-08 01:14:19 +01:00
Elis Hirwing 0eddfd8d62
Merge pull request #204989 from etu/php82-stable
php82: 8.2.0-rc7 -> 8.2.0
2022-12-08 00:37:19 +01:00
Raphael Robatsch 985c8dbe14 treewide: use mbedtls 3 where possible
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-12-07 19:58:55 +00:00
figsoda 7ead9d1ea3
Merge pull request #204984 from r-ryantm/auto-update/wasmtime
wasmtime: 3.0.0 -> 3.0.1
2022-12-07 12:18:57 -05:00
Martin Weinelt bdb82dffc0
Merge pull request #204902 from mweinelt/cpython-39-310-312 2022-12-07 17:55:35 +01:00
Martin Weinelt e824b21ba7
python310: 3.10.8 -> 3.10.9
https://docs.python.org/release/3.10.9/whatsnew/changelog.html
https://pythoninsider.blogspot.com/2022/12/python-3111-3109-3916-3816-3716-and.html

Fixes: CVE-2022-37454, CVE-2022-45061, CVE-2022-42919
2022-12-07 16:41:58 +01:00