Commit graph

7377 commits

Author SHA1 Message Date
Martin Weinelt c4ee7b8f62 update-python-libraries: Make the hash replacement more robust
Retrieve the current package hash and use it for a more precise match,
which allows us to update a derivation in situation where multiple
hashes are present.
2023-02-27 02:21:07 +00:00
Martin Weinelt 4ba1db9876 update-python-libraries: Allow packages to deny bulk updates
By settings `passthru.skipBulkUpdate = true` in a python package, it
will be excluded from bulk update runs.

This is useful in case of fragile packages, that require special
attention during updates.
2023-02-27 02:21:07 +00:00
Martin Weinelt 706cae6532 update-python-libraries: Add support for fetchgit
Previously when packages that required the git fetcher were updated, we
would wrongly rely on `nix-prefetch-url`, which would reliable break the
hash.

Instead we need to use `nix-prefetch-git` to determine the proper hash,
when the relevant attributes are present.
2023-02-27 02:21:07 +00:00
Martin Weinelt 6e78ac9785
Merge pull request #217558 from winterqt/pypy3-fix-site-packages
pypy3{8,9}: fix sitePackages
2023-02-26 23:39:27 +00:00
Martin Weinelt 2af27d6143
pypy: Use hash everywhere
Fixes the build after cpython switched to hash.
2023-02-26 13:11:30 +00:00
Winter e4dd2b8ca0 pypy3{8,9}: fix sitePackages
When PyPy introduced Python 3.8 support with version 7.3.6, they also
migrated to using CPython's directory layout [0]:

> The 3.8 package now uses the same layout as CPython, and many of the
PyPy-specific changes to `sysconfig`, `distutils.sysconfig`, and
`distutils.commands.install.py` have been removed. The stdlib now is
located in `<base>/lib/pypy3.8` on `posix` systems...

When we upgraded past this version and added Python 3.8 support [1], the
`sitePackages` value was never updated, leading `bootstrapped-pip` to fail
to build, because wheel was trying to be located in `$out/site-packages`,
when it was actually installed to `$out/lib/pypy3.8/site-packages`.

[0]: https://www.pypy.org/posts/2021/10/pypy-v736-release.html
[1]: eec28b8cfd
2023-02-25 13:43:28 -05:00
github-actions[bot] ae20452a11
Merge master into staging-next 2023-02-24 18:01:22 +00:00
Weijia Wang 8ce47e68e9
Merge pull request #217388 from r-ryantm/auto-update/zef
zef: 0.16.0 -> 0.17.0
2023-02-24 18:42:37 +02:00
github-actions[bot] baa8a3d30c
Merge master into staging-next 2023-02-24 05:07:16 +00:00
Artturin d06382a73b treewide: more manual fixups for
treewide: move NIX_CFLAGS_COMPILE to the env attrset

`nix-eval-jobs --flake ".#legacyPackages.x86_64-linux" --workers 3 2>/dev/null --impure | jq 'select(.error?) | select(.error | match ("attribute set can only contain derivation") )'`
and
`nix-eval-jobs --flake ".#legacyPackages.aarch64-darwin" --workers 3 2>/dev/null --impure | jq 'select(.error?) | select(.error | match ("attribute set can only contain derivation") )'`

no longer has output so this could be all of the remaining issues
2023-02-24 06:26:02 +02:00
Alyssa Ross 52c286ee5b
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/development/libraries/pmdk/default.nix
2023-02-23 13:51:34 +00:00
Artturin f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
github-actions[bot] e3e8374b6f
Merge master into staging-next 2023-02-21 00:02:33 +00:00
R. Ryantm eb3fc41f91 zef: 0.16.0 -> 0.17.0 2023-02-21 00:00:27 +00:00
Jörg Thalheim a891613ead
Merge pull request #217227 from mothsART/feature/replace_http_by_https__second_pass
treewide: replace http by https when https is a permanent redirection
2023-02-20 21:33:05 +01:00
github-actions[bot] 507feca606
Merge master into staging-next 2023-02-20 12:01:32 +00:00
7c6f434c fbf9888d26
Merge pull request #216680 from tnias/love-fix-versions
love: fix versions
2023-02-20 06:45:07 +00:00
Ferry Jérémie bfac2d0034 treewide:replace http by https when https is a permanent redirection 2023-02-19 21:47:59 +01:00
Vladimír Čunát c9849777e3
Merge #217024: ruby_3_0: fix build on darwin
...into staging-next
2023-02-19 11:18:38 +01:00
github-actions[bot] a1eb3e0b3e
Merge master into staging-next 2023-02-19 00:02:27 +00:00
Guillaume Girol c9a3eb5c70
Merge pull request #216846 from lilyinstarlight/misc/supercollider-updatescript-strictdeps
supercollider,supercolliderPlugins.sc3-plugins: add updateScript and enable strictDeps
2023-02-18 19:33:23 +00:00
Mario Rodas 8780d8542d ruby_3_0: fix build on darwin 2023-02-18 10:45:00 -05:00
Alyssa Ross 38f0121cce
Merge master (+ 11b095e revert) into staging-next
Conflicts:
	pkgs/development/libraries/libvisual/default.nix
2023-02-18 14:04:32 +00:00
R. Ryantm c79e326a59 erlang: 25.2.2 -> 25.2.3 2023-02-18 01:34:50 -05:00
Lily Foster fb4b504b00
supercolliderPlugins.sc3-plugins: add updateScript and enable strictDeps 2023-02-17 13:28:44 -05:00
Lily Foster 5f23588988
supercollider: add updateScript and enable strictDeps 2023-02-17 13:28:40 -05:00
Philipp Bartsch 35681340d1 Revert "love: 0.10.2 -> 11.4"
There are supposed to be different versions of love.

- 0.10.2 in 0.10.nix
- 11.4 in 11.nix

This reverts commit e8662b6688.
2023-02-16 20:03:17 +01:00
github-actions[bot] 5c852cc587
Merge master into staging-next 2023-02-16 12:01:36 +00:00
Pol Dellaiera 853650b77e
php80: 8.0.27 -> 8.0.28 2023-02-15 22:10:57 +01:00
Pol Dellaiera 10e361a93e
php81: 8.1.15 -> 8.1.16 2023-02-15 22:10:57 +01:00
Pol Dellaiera 5d61c37a90
php82: 8.2.2 -> 8.2.3
Security update. News: https://www.php.net/archive/2023.php#2023-02-14-2
2023-02-15 22:10:57 +01:00
github-actions[bot] bf5abe92d4
Merge master into staging-next 2023-02-15 18:01:14 +00:00
Martin Weinelt 05fe3be949
Merge pull request #216356 from mweinelt/spidermonkeys
spidermonkey_102: 102.1.0 -> 102.8.0; spidermonkey_91: 91.12.0 0 -> 91.13.0
2023-02-15 15:25:12 +00:00
github-actions[bot] c4fe2133de
Merge staging-next into staging 2023-02-15 06:01:44 +00:00
github-actions[bot] 58cfebde3e
Merge staging-next into staging 2023-02-15 00:02:50 +00:00
Martin Weinelt 2b4f446ee8
spidermonkey_91: 91.12.0 -> 91.13.0
Bringing the 91 release series to its final version. Did not check for
changes, but this gives me closure.
2023-02-14 19:31:55 +01:00
Martin Weinelt f7eba3716c
spidermonkey_102: 102.1.0 -> 102.8.0
https://www.mozilla.org/en-US/security/advisories/mfsa2023-06/#CVE-2023-25735

Fixes: CVE-2023-25735
2023-02-14 19:30:20 +01:00
Felix Buehler bc3d5934d7 treewide: use lib.optionals 2023-02-14 19:11:59 +01:00
Felix Bühler b025cb11c5
Merge pull request #214996 from Stunkymonkey/optionalString-1
treewide: use optionalString
2023-02-14 19:09:46 +01:00
github-actions[bot] f123085ae9
Merge staging-next into staging 2023-02-14 18:01:45 +00:00
Martin Weinelt 5eb6139626
Merge pull request #216332 from GaetanLepage/ffmpeg
spotify, renpy: fix wrong ffmpeg references
2023-02-14 16:26:45 +00:00
Gaetan Lepage a51f9c5c1c spotify, renpy: fix wrong ffmpeg references
The ffmpeg library derivation output is ffmpeg.lib and no more ffmpeg.out.
This PR updates the remaining references to ffmpeg.out.
2023-02-14 17:26:05 +01:00
R. Ryantm 5517737e6e clojure: 1.11.1.1208 -> 1.11.1.1224 2023-02-14 15:23:51 +00:00
Felix Buehler cdb39a86e0 treewide: use optionalString 2023-02-13 21:52:34 +01:00
Alyssa Ross b4f74e334e
python2: fix eval
Fixes: ee90eca180 ("cpython: Migrate sha256 occurences to hash")
2023-02-13 17:14:19 +00:00
Martin Weinelt d87b0e29ff
Merge pull request #215401 from mweinelt/python-3.10.10-3.11.2
python310: 3.10.9 -> 3.10.10; python311: 3.11.1 -> 3.11.2
2023-02-13 13:26:00 +00:00
github-actions[bot] 8e2a123807
Merge staging-next into staging 2023-02-12 18:01:40 +00:00
github-actions[bot] a55c80886c
Merge master into staging-next 2023-02-12 18:01:09 +00:00
Martin Weinelt d704ee72c9
python3.tests.nixenv-virtualenv: Fix on darwin
The virtualenv mode is trying to be smart and checks whether it can
write to $out, which for some reason fails on darwin.

> virtualenv: error: argument dest: the destination . is not write-able at /nix/store

But what does work is creating it in the pwd and moving it to $out,
because mv just does what it is told.
2023-02-12 03:03:31 +01:00
Martin Weinelt 20c723dd07
python3.tests.condaExamplePackage: Exclude on non-linux
Allow python3.tests to eval on other platforms than linux, by excluding
conda tests when not on linux, because they include alsa-lib, which is
linux-only.
2023-02-11 23:22:09 +01:00