Commit Graph

7263 Commits

Author SHA1 Message Date
Ulrik Strid
376e9ceead treewide: add strictDeps = true to most packages depending on ocaml 2023-02-03 08:59:34 +01:00
Weijia Wang
b062ec5b83 rustpython: unbreak on x86_64-darwin 2023-02-03 00:02:17 +01:00
Alyssa Ross
d608fbb9f6 buildPython*: allow overriding disabled packages
Previously:

	nix-repl> python3.pkgs.WSME
	error: WSME-0.11.0 not supported for interpreter python3.10

	nix-repl> python3.pkgs.WSME.overridePythonAttrs (_: { disabled = false; })
	error: WSME-0.11.0 not supported for interpreter python3.10

Now:

	nix-repl> python3.pkgs.WSME
	error: WSME-0.11.0 not supported for interpreter python3.10
	«derivation

	nix-repl> python3.pkgs.WSME.overridePythonAttrs (_: { disabled = false; })
	«derivation /nix/store/cxkiwdfm146zvl573s2hahlbjd1wfrrp-python3.10-WSME-0.11.0.drv»
2023-02-02 16:49:27 +01:00
Weijia Wang
97b3ca8685 nextflow: 22.04.5 -> 22.10.6 2023-02-02 03:00:33 +01:00
R. Ryantm
245bee6ef5 erlang: 25.2.1 -> 25.2.2 2023-02-01 08:33:56 -05:00
Nick Cao
4f1caea482
wasmer: 3.1.0 -> 3.1.1
Diff: https://github.com/wasmerio/wasmer/compare/v3.1.0...v3.1.1
2023-02-01 11:23:32 +08:00
github-actions[bot]
66bb8338fc
Merge master into staging-next 2023-01-31 06:01:26 +00:00
logo4poop
94edb149a5 hashlink: 1.12 -> 1.13 2023-01-30 21:53:43 -05:00
Nick Cao
2603076d9a
Merge pull request #212760 from Cynerd/luajit-crossbuild
luajit: fix cross build for 32 bit architectures
2023-01-31 09:14:56 +08:00
Karel Kočí
af2839518e
luajit: fix cross build for 32 bit architectures
The 32bit compiler has to be used when building on 64bit system.
2023-01-30 09:54:34 +01:00
github-actions[bot]
2019d6632b
Merge master into staging-next 2023-01-29 12:01:20 +00:00
github-actions[bot]
d7f991bb53
Merge master into staging-next 2023-01-29 00:02:27 +00:00
Alyssa Ross
b682fef8e9 python3.pkgs: fix splice through unsupported hosts
Previously, unless unsupported platforms were allowed, the following
would fail to evaluate (from an "x86_64-linux" system):

    pkgsCross.x86_64-freebsd.__splicedPackages.docutils.__spliced.buildHost

It shouldn't have, because the buildHost package ends up being for
Linux.  This broke evaluation of e.g. pkgsCross.x86_64-freebsd.libdrm,
because it has docutils in nativeBuildInputs.  mkDerivation would try
to go through __spliced.buildHost on docutils to get to the Linux
version, but the check in ensurePythonModules would kick in first,
triggering the meta check because of the equality check in the
implementation of hasPythonModule, which would fail because Python is
not marked as supported on FreeBSD in Nixpkgs at the moment.  Thus,
even though they're not supposed to be, the meta checks would be
triggered even though the only attribute being accessed on the
unsupported derivation was __spliced.

We can fix this by using the same mechanism used to implement the meta
checks themselves: lib.extendDerivation.  Now, attempting to access
drvPath or outPath on an attribute that fails the validity check will
produce the same error as before, but other accesses will be allowed
through, fixing splicing.

I've tested evaluation of packages that pass and fail the validity
check, and confirmed that the behaviour is still correct.
2023-01-28 21:08:50 +00:00
Alyssa Ross
02ee33a5c1 python3.pkgs: simplify ensurePythonModules logic
It wasn't clear before, but it turns out that this is just four
separate conditions, and an attribute is valid if any of the
conditions is true, so we don't need a sea of parentheses to express
it.
2023-01-28 21:08:50 +00:00
github-actions[bot]
edb59645f2
Merge master into staging-next 2023-01-28 18:01:11 +00:00
Martin Weinelt
52029b8e00 Merge remote-tracking branch 'origin/master' into staging-next 2023-01-27 23:50:36 +01:00
Vladimír Čunát
8a77ed60ac
Merge branch 'master' into staging-next 2023-01-27 09:36:55 +01:00
Mario Rodas
686ad19923 nelua: 2022-11-20 -> 2023-01-21 2023-01-27 04:20:00 +00:00
Mario Rodas
43e5897f70 zuo: 2022-11-15 -> 2023-01-02 2023-01-27 04:20:00 +00:00
Mario Rodas
b6779f09d7 luau: 0.558 -> 0.560
https://github.com/Roblox/luau/releases/tag/0.560
2023-01-27 04:20:00 +00:00
github-actions[bot]
578f1ba854
Merge master into staging-next 2023-01-26 18:01:29 +00:00
Shawn8901
a59dda942c treewide: remove global with lib; statements in pkgs/development 2023-01-26 18:31:02 +01:00
Weijia Wang
dcd69bc308
Merge pull request #212714 from wegank/aarch64-gcc-comments
treewide: mark #201254
2023-01-26 15:38:04 +01:00
Weijia Wang
52a28708b8 treewide: mark #201254 2023-01-26 15:11:41 +01:00
github-actions[bot]
d7e7d75f99
Merge master into staging-next 2023-01-26 06:01:24 +00:00
Sergei Trofimovich
c82cfa8bc0 guile_3_0: 3.0.8 -> 3.0.9
Changes: https://www.gnu.org/software/guile/news/gnu-guile-309-released.html
2023-01-25 21:42:30 +00:00
github-actions[bot]
a1c257a1c6
Merge master into staging-next 2023-01-25 18:01:20 +00:00
Anderson Torres
ff6d32d09b
Merge pull request #210194 from sternenseemann/cbqn-fix-extra-outputs
cbqn: tie outputs for library to library config option
2023-01-25 13:38:26 -03:00
R. Ryantm
8486c3d92e babashka: 1.0.170 -> 1.1.172 2023-01-25 13:41:32 +00:00
github-actions[bot]
20df8d00cc
Merge master into staging-next 2023-01-25 12:01:34 +00:00
Dmitry Kalinkin
f9d18ffe58 lib.maintainers.doublec: remove 2023-01-24 01:02:59 -05:00
github-actions[bot]
eadaaa7d20
Merge master into staging-next 2023-01-23 12:01:24 +00:00
Thiago Kenji Okada
5bd1073f47
Merge pull request #212216 from r-ryantm/auto-update/babashka
babashka: 1.0.169 -> 1.0.170
2023-01-23 09:39:46 +00:00
github-actions[bot]
d8bfd0a059
Merge master into staging-next 2023-01-23 06:01:12 +00:00
R. Ryantm
53bb93d08b babashka: 1.0.169 -> 1.0.170 2023-01-23 05:33:47 +00:00
Nick Cao
6ad4d75364
Merge pull request #211079 from NickCao/py37
python37: remove leftovers
2023-01-23 11:22:35 +08:00
github-actions[bot]
feb2240b37
Merge master into staging-next 2023-01-22 18:01:03 +00:00
Weijia Wang
123cd79117
Merge pull request #195387 from r-ryantm/auto-update/zef
zef: 0.14.2 -> 0.14.6
2023-01-22 16:17:12 +01:00
Adam Joseph
42815b4a0c treewide: systemdSupport: use lib.meta.availableOn
Many packages have some kind of flag indicating whether or not to build with
systemd support.  Most of these default to `stdenv.isLinux`, but systemd does
not build on (and is marked `broken` for) `isStatic`.  Only a few packages have
the needed `&& !isStatic` in the default value for their parameter.

This commit moves the logic for the default value of these flags into
`systemd.meta.{platforms,badPlatforms}` and evaluates those conditions using
`lib.meta.availableOn`.

This provides three benefits:

1. The default values are set correctly (i.e. including `&& isStatic`)

2. The default values are set consistently

3. The way is paved for any future non-Linux systemd platforms (FreeBSD is
   reported to have experimental systemd support)
2023-01-22 00:27:19 -08:00
Weijia Wang
218c4c526e
Merge pull request #212002 from mothsART/feature/replace_http_by_https
treewide: replace http by https when https is a permanent redirection
2023-01-22 03:26:02 +01:00
Ferry Jérémie
65d7e87fdb treewide: replace http by https when https is a permanent redirection 2023-01-22 02:46:49 +01:00
figsoda
da5b47eba8
Merge pull request #211962 from figsoda/go
treewide: remove empty go vendor hashes
2023-01-21 18:06:47 -05:00
figsoda
d8f9bcbcd6 treewide: remove empty go vendor hashes 2023-01-21 11:35:00 -05:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Guillaume Girol
b7042dc36a buildLuaPackage: adapt to native check inputs 2023-01-21 16:42:10 +01:00
Guillaume Girol
dcfdd9d8da mkTclDerivation: support nativeCheckInputs 2023-01-21 16:42:10 +01:00
Guillaume Girol
339a5491bb buildPythonPackage: support nativeCheckInputs 2023-01-21 16:42:09 +01:00
Guillaume Girol
90c78aee6c Merge branch 'nativeCheckInputs' into staging-nativeCheckInputs 2023-01-21 12:00:00 +00:00
figsoda
3290828905 fetchPypi: move to top level
fetchPypi doesn't use python under the hood and doesn't need to be tied
to a specific version of python. Moving it to top level makes it more
consistent with other fetchers and makes code generation easier.
2023-01-21 08:21:33 +01:00
R. Ryantm
c4961615c7 erlang: 24.3.4.7 -> 24.3.4.8 2023-01-20 15:03:17 -05:00