Commit Graph

11659 Commits

Author SHA1 Message Date
Ryan Burns
9046690c73 hdf5: refactor to reduce downstream closure size
* Only build static libs by default when stdenv.hostPlatform.isStatic
* Add separate -bin output
* Move h5hlcc/c++ dev binaries to -dev output
* Default to building with C++ support to cut down
  on duplicated hdf5/hdf5-cpp in downstream closures
2024-03-01 17:14:34 -08:00
github-actions[bot]
18bc3c64e6 Merge master into staging-next 2024-03-01 12:00:58 +00:00
7c6f434c
4b88513c09 Merge pull request #292353 from hraban/lisp-mainprograms
sbcl, ecl, clisp: set meta.mainProgram
2024-03-01 11:14:34 +00:00
Mario Rodas
0298c1f394 luau: 614 -> 0.615
Diff: https://github.com/luau-lang/luau/compare/614...0.615

Changelog: https://github.com/luau-lang/luau/releases/tag/0.615
2024-03-01 04:20:00 +00:00
Hraban Luyat
3dea08030b sbcl, ecl, clisp: set meta.mainProgram 2024-02-29 11:16:55 -05:00
R. Ryantm
ab87c7f141 wasmtime: 18.0.1 -> 18.0.2 2024-02-29 04:51:03 +00:00
github-actions[bot]
d2cfd53fa4 Merge staging-next into staging 2024-02-27 18:01:33 +00:00
github-actions[bot]
bc4d0fb5ae Merge master into staging-next 2024-02-27 18:01:01 +00:00
brokenpip3
c95f67587c bats.libraries.bats-detik: 1.2.1 -> 1.3.0 2024-02-27 00:12:44 +01:00
github-actions[bot]
d6b3e91345 Merge staging-next into staging 2024-02-26 18:01:24 +00:00
github-actions[bot]
02bdcdacdd Merge master into staging-next 2024-02-26 18:00:55 +00:00
R. Ryantm
586f528d15 micropython: 1.22.1 -> 1.22.2 2024-02-26 08:14:53 +00:00
github-actions[bot]
41e7732291 Merge staging-next into staging 2024-02-25 18:01:23 +00:00
lassulus
ef435713ef Merge pull request #291371 from Yarny0/pythonCatchConflictsHook-recursion
pythonCatchConflictsHook: avoid infinite recursion
2024-02-25 23:53:14 +07:00
Yarny0
b1bccc25ec pythonCatchConflictsHook: test cyclic dependency
Add test case where a package enlists
itself as propagated build input.
2024-02-25 11:54:49 +01:00
Yarny0
e5d7325166 pythonCatchConflictsHook: avoid infinite recursion
Albeit counter-intutive, the `propagatedBuildInputs`
mechanism and the corresponding package files in
`nix-support/propagated-build-inputs`
can form a dependency cycle.
This can happen if a package adds itself to this file,
or if multiple outputs of one derivation reference each other.

An example for this is the `patchPpdFilesHook`:
In its mission to collect dependency packages with binaries
that might be required by the dependent package to be created,
it sometimes picks up the dependent package itself.
This indicates that if a file of the dependent package
is used, the package itself should also be installed.
In the case of a multiple output package,
it is also possible that two outputs depend on each other,
creating a dependency cycle.

Since commit 2651ddc7b0,
the `find_packages` function in `catch_conflicts.py`
recursively collects all `propagated-build-inputs` files.
If it encounters a dependency cycle, it must not follow the
cycle to avoid infinite recursion (and a stack overflow).

The commit at hand adds a check so that the function skips over
a package that it already encountered and processed earlier.
This does not loosen the script's checks as the script
still recursively collects all propagated build inputs.
2024-02-25 11:54:07 +01:00
Dan Callaghan
fb39dd6f72 update-python-libraries: ignore yanked releases on PyPI 2024-02-25 15:27:31 +11:00
github-actions[bot]
8eb8b5cbf0 Merge staging-next into staging 2024-02-25 00:02:47 +00:00
Mario Rodas
66390b68ec Merge pull request #291035 from marsam/update-luau
luau: 0.613 -> 614
2024-02-24 17:20:05 -05:00
Weijia Wang
6c705cbea0 Merge branch 'staging-next' into staging 2024-02-23 06:29:40 +01:00
Weijia Wang
4ec69afa51 Merge branch 'master' into staging-next 2024-02-23 06:29:25 +01:00
Mario Rodas
ea6a2334b6 luau: 0.613 -> 614
Diff: https://github.com/luau-lang/luau/compare/0.613...614

Changelog: https://github.com/luau-lang/luau/releases/tag/614
2024-02-23 04:20:00 +00:00
Weijia Wang
2930699c8c Merge branch 'staging-next' into staging 2024-02-23 05:12:00 +01:00
Weijia Wang
5f5062d1ef Merge branch 'master' into staging-next 2024-02-23 05:09:55 +01:00
Artur Cygan
d2c7be6bae maude: unbreak 2024-02-22 18:30:39 +01:00
Thiago Kenji Okada
8d40d6f4e1 Merge pull request #290639 from r-ryantm/auto-update/babashka-unwrapped
babashka-unwrapped: 1.3.188 -> 1.3.189
2024-02-22 16:08:21 +00:00
Martin Weinelt
faadcf03b6 Merge pull request #289531 from mweinelt/python312full-bluez
cpython: allow full variant on all platformns where bluez is available
2024-02-22 16:37:11 +01:00
R. Ryantm
00f70f03b7 babashka-unwrapped: 1.3.188 -> 1.3.189 2024-02-22 14:47:07 +00:00
binarycat
90aaea8dfb lua*: support relative modules even when there are system modules
previously, when the lua setup hook found a system lua module,
it would simply add that library to LUA_PATH, meaning the default
path would no longer be used.

for luajit, this bug would always occur, due to it having
several inbuilt libraries such as luabitop.

lua5 still passed unit tests, simply because the test
environment doesn't include any system lua libaries,
but the bug would still occur if lua5 was used in a derivation with
a buildInput from luaPackages, since that package would be found by
the envHook and overwrite the default path.

now, the setup hook will use any system module paths in addition to
the default path, instead of overriding it.
2024-02-21 23:43:11 +01:00
github-actions[bot]
e98fe116d8 Merge master into staging-next 2024-02-21 12:01:10 +00:00
Mario Rodas
be2e6cc72d Merge pull request #290314 from r-ryantm/auto-update/wasmtime
wasmtime: 17.0.1 -> 18.0.1
2024-02-21 05:00:04 -05:00
R. Ryantm
1b109bf79a wasmtime: 17.0.1 -> 18.0.1 2024-02-20 23:48:15 +00:00
R. Ryantm
f996174da0 jruby: 9.4.5.0 -> 9.4.6.0 2024-02-20 18:42:36 +00:00
github-actions[bot]
ba5eeff4f5 Merge master into staging-next 2024-02-20 06:01:15 +00:00
Martin Weinelt
fa83add1b9 Merge pull request #271597 from adisbladis/python-runtime-build-time-sep
python3.pkgs.buildPythonPackage: Separate runtime & build time dependencies
2024-02-20 05:05:20 +01:00
github-actions[bot]
2d9ce4a9af Merge master into staging-next 2024-02-19 18:01:11 +00:00
R. Ryantm
02759ac1db expr: 1.16.0 -> 1.16.1 2024-02-18 10:22:24 +00:00
github-actions[bot]
68a2e7449b Merge staging-next into staging 2024-02-18 06:01:34 +00:00
Martin Weinelt
35c5863c29 Merge pull request #271961 from adisbladis/python-pypaBuildHook-tests
python3.pkgs.pypaBuildHook: Fix passthru.tests
2024-02-18 06:05:26 +01:00
adisbladis
4d0cca4654 mk-python-derivation: Add build-system argument
Much like the previous commit that adds dependencies &
optional-dependencies this aligns PEP-517 build systems with how they
are defined in PEP-518/PEP-621.

The naming `build-system` (singular) is aligned with upstream Python standards.
2024-02-18 17:40:42 +13:00
adisbladis
b9138b7c07 mk-python-derivation: Add dependencies & optional-dependencies arguments
Since https://github.com/NixOS/nixpkgs/pull/161835 we've had the
concept of `passthru.optional-dependencies` for Python optional deps.

Having to explicitly put optional-dependencies in the passthru attrset
is a bit strange API-wise, even though it semantically makes sense.

This change unifies the handling of non-optional & optional Python
dependencies using the names established from PEP-621 (standardized pyproject.toml project metadata).
2024-02-18 17:40:42 +13:00
github-actions[bot]
2ad339408a Merge staging-next into staging 2024-02-18 00:02:44 +00:00
Pavol Rusnak
6f9f08d3a6 Merge pull request #289371 from nagy/nagy/micropython 2024-02-17 19:15:45 -03:00
github-actions[bot]
8bc9edd60d Merge staging-next into staging 2024-02-17 18:01:24 +00:00
Mario Rodas
c06b377b63 Merge pull request #288463 from MidAutumnMoon/ruby-finalattrs
ruby: replace `rec {}` with `finalAttrs` & make overriding possible
2024-02-17 11:28:27 -05:00
Matthieu Coudron
50e877ed89 buildLuarocksPackage: accept structured luarocks config
There is an arbitrary mapping being done right now between
nixpkgs lua infrastructre and luarocks config schema.
This is confusing if you use lua so let's make it possible to use the
lua names in the nixpkgs, thanks to the lib.generators.toLua convertor.

The only nixpkgs thing to remember should be to put the config into `luarocksConfig`

`buildLuarocksPackage.extraVariables` should become `buildLuarocksPackage.luarocksConfig.variables`
2024-02-17 15:58:13 +01:00
Martin Weinelt
bc775ec0dd cpython: allow full variant on all platformns where bluez is available
Closes: #289113
2024-02-17 14:05:32 +01:00
Daniel Nagy
baed3bc2a0 micropython: 1.21.0 -> 1.22.1
Also install mpy-cross, since we are already building it.
2024-02-17 12:45:00 +01:00
adisbladis
e23b901321 python3.hooks: Dont completely overwrite passthru when creating setup hook 2024-02-17 21:19:26 +13:00
adisbladis
48a49f76d7 python3.pkgs.pypaBuildHook: Fix passthru.tests 2024-02-17 21:19:24 +13:00