Commit Graph

560222 Commits

Author SHA1 Message Date
Matthieu Coudron
4ea6c0c58b lib.generators: made toLua accept derivations too
While trying to extend generateLuarocksConfig, I had infinite loops caused by toLua considering derivations as attrSets
2023-12-15 15:05:46 +01:00
Valentin Gagarin
b98bbbd49a CODEOWNERS: unsubscribe fricklerhandwerk 2023-12-15 15:05:02 +01:00
R. Ryantm
e54d256759 goimports-reviser: 3.5.6 -> 3.6.0 2023-12-15 13:57:06 +00:00
R. Ryantm
db3d0e06da gogui: 1.5.3 -> 1.5.4a 2023-12-15 13:56:47 +00:00
R. Ryantm
809ff646c9 goconst: 1.6.0 -> 1.7.0 2023-12-15 13:51:31 +00:00
Dmitry Kalinkin
d4af6e420f
root: build with root7 and webgui (#272723) 2023-12-15 08:43:44 -05:00
Maximilian Bosch
c633dfc5e8
Merge pull request #274244 from katexochen/mitmproxy/10-1-6
mitmproxy: 10.1.5 -> 10.1.6
2023-12-15 14:39:33 +01:00
Silvan Mosberger
5a0a700663
Merge pull request #269356 from amjoseph-nixpkgs/pr/release-outpaths-
Ensure all jobset attributes evaluate, and check that in CT
2023-12-15 14:36:15 +01:00
R. Ryantm
0d7a228f8e fastjet: 3.4.1 -> 3.4.2 2023-12-15 08:35:48 -05:00
Dmitry Kalinkin
64c9d900c9
Merge pull request #274395 from GaetanLepage/torch
python3Packages.{torch,torch-bin}: 2.1.1 -> 2.1.2
2023-12-15 08:34:57 -05:00
Maximilian Bosch
cc9a93afbe
Merge pull request #274362 from r-ryantm/auto-update/fzf-make
fzf-make: 0.9.0 -> 0.11.0
2023-12-15 14:27:34 +01:00
Adam Joseph
d412d72d69 pkgs/top-level/release-outpaths.nix: omit attrnames which fail with "unsupported"
We have packages that use `meta.platforms = []` as a sort of synonym
for `broken = true`.  Without this commit, the attrnames for those
jobs will end up in the list of attrnames which are expected to
build, even though they are not expected to build.
2023-12-15 05:13:51 -08:00
Adam Joseph
8f34a10d6a lib/tests/release.nix: temporary reference to pkgs/test/release
This commit temporarily adds pkgs/test/release to the
lib/tests/release.nix test suite, because ofborg already knows about
that entry point.

We should move the list of test entry points out of ofborg and into
a central place in nixpkgs:

  https://github.com/NixOS/nixpkgs/issues/272591

Once we do that we won't need to have this ugly kludge in an
inappropriate place.
2023-12-15 05:13:50 -08:00
Adam Joseph
2d036511f6 pkgs/test/release/default.nix: init
This derivation verifies that all jobset attributes can be evaluated
under tryEval without producing any non-catchable errors or causing
infinite recursion.
2023-12-15 05:13:50 -08:00
Adam Joseph
77d3093caa AAAAAASomeThingsFailToEvaluate: provide a message which is actually helpful 2023-12-15 05:13:50 -08:00
Adam Joseph
eda44b7415 pkgs/top-level/release-attrpaths-superset.nix: init
This file walks the entire nixpkgs tree and emits a superset of all
release attrnames in only 44 seconds on a 3ghz CPU, using 5 gbytes
of memory.  By comparison, on the same CPU the `nix-env` hack used
by ofborg on every PR submission requires 41 *minutes* and peaks at
60 gbytes, even with checkMeta turned off.  Full details below.

This is:

- 46x faster (or 2.1% of the elapsed time)
- 12.5x less memory (or 8.0% of the peak memory usage)

In order to replace the ofborg check, this list of attrnames must
then be post-filtered for platform-relevance.  However, crucially,
the post-filtering can be done *in parallel* on multiple cores by
splitting the attrname list in to chunks.  Generating the list of
attrnames cannot be parallelized because it is a single-threaded
cppnix task.

This PR also adds `recurseForDerivations` where necessary within
nixpkgs in order to make this possible -- it screens out various
non-tryEval-catchable failures and infinite recursions.  Before
undraftifying, I will add an invocation of this command to the CI
tests, to ensure that the work performed here is not immediately
undone.  My next PR will then add an additional CI check confirming
that the emitted attrpaths are in fact a superset of the release
attrpaths calculated by the slow-memory-hog ofborg method.

I have manually confirmed that this is the case at the tip commit of
this PR, but we need CI to make sure this remains true until ofborg
switches to this more-efficient method of calculation; at that point
the superset-check can be dropped.

According to GNU Time,

        Command being timed: "nix-instantiate --eval --strict --json pkgs/top-level/release-attrpaths-superset.nix -A names"
        User time (seconds): 44.88
        System time (seconds): 8.09
        Percent of CPU this job got: 99%
        Elapsed (wall clock) time (h:mm:ss or m:ss): 0:53.20
        Average shared text size (kbytes): 0
        Average unshared data size (kbytes): 0
        Average stack size (kbytes): 0
        Average total size (kbytes): 0
        Maximum resident set size (kbytes): 4823028
        Average resident set size (kbytes): 0
        Major (requiring I/O) page faults: 0
        Minor (reclaiming a frame) page faults: 3611240
        Voluntary context switches: 113
        Involuntary context switches: 949
        Swaps: 0
        File system inputs: 1480
        File system outputs: 5944
        Socket messages sent: 0
        Socket messages received: 0
        Signals delivered: 0
        Page size (bytes): 4096
        Exit status: 0

Compared to release-outpaths.nix:

        Command being timed: "nix-env -qaP --no-name --out-path --arg checkMeta false --argstr path /git/work/pr/release-outpaths -f pkgs/top-level/release-outpaths.nix"
        User time (seconds): 2120.67
        System time (seconds): 337.80
        Percent of CPU this job got: 98%
        Elapsed (wall clock) time (h:mm:ss or m:ss): 41:37.91
        Average shared text size (kbytes): 0
        Average unshared data size (kbytes): 0
        Average stack size (kbytes): 0
        Average total size (kbytes): 0
        Maximum resident set size (kbytes): 60171768
        Average resident set size (kbytes): 0
        Major (requiring I/O) page faults: 2
        Minor (reclaiming a frame) page faults: 230608113
        Voluntary context switches: 8876
        Involuntary context switches: 22275
        Swaps: 0
        File system inputs: 62624
        File system outputs: 72
        Socket messages sent: 0
        Socket messages received: 0
        Signals delivered: 0
        Page size (bytes): 4096
        Exit status: 0
2023-12-15 05:13:50 -08:00
Adam Joseph
80472e3754 treewide: add __attrsFailEvaluation and __recurseIntoDerivationForReleaseJobs 2023-12-15 05:13:46 -08:00
Linus Heckemann
d384270823
Merge pull request #270419 from Myaats/update-samba
samba: 4.19.2 -> 4.19.3
2023-12-15 14:00:31 +01:00
Maximilian Bosch
f2df28e1e3
Merge pull request #274189 from r-ryantm/auto-update/deno
deno: 1.38.5 -> 1.39.0
2023-12-15 14:00:18 +01:00
rian
2960f5366b
endless-sky: 0.9.16.1 -> 0.10.4 (#273995) 2023-12-15 13:57:35 +01:00
R. Ryantm
11da3298d1 go-toml: 2.1.0 -> 2.1.1 2023-12-15 12:37:51 +00:00
maralorn
9bcc22403c
Merge pull request #274082 from MangoIV/mangoiv/fix-cborg-json
haskell.packages.ghc96.serialise: remove unnecessary jailbreak
2023-12-15 13:33:15 +01:00
Bobby Rong
aa8e0a0943
Merge pull request #274256 from bobby285271/upd/cinnamon
Cinnamon updates 2023-12-15
2023-12-15 20:32:02 +08:00
Pavol Rusnak
cad6b8255b
Merge pull request #274250 from r-ryantm/auto-update/elements
elements: 22.1.1 -> 23.2.1
2023-12-15 13:30:51 +01:00
Fabian Affolter
f5fbd1619d python311Packages.google-cloud-automl: 2.11.4 -> 2.12.0
Changelog: https://github.com/googleapis/google-cloud-python/tree/google-cloud-automl-v2.12.0/packages/google-cloud-automl
2023-12-15 13:22:54 +01:00
Adam Joseph
cd99109202 pkgs/top-level/release-outpaths.nix: never attempt to build unfree packages, most of them are broken
Since Hydra does not build unfree packages an astonishing proportion
of them are broken yet not marked meta.broken.
2023-12-15 04:21:33 -08:00
Adam Joseph
6e25b3f37c pkgs/top-level/release-outpaths.nix: add includeBroken parameter 2023-12-15 04:21:33 -08:00
Adam Joseph
e5df65704e pkgs/top-level/release-outpaths.nix: make systems parameter optional 2023-12-15 04:21:33 -08:00
Adam Joseph
5d3cf4e515 pkgs/top-level/release-outpaths.nix: simplify invocation 2023-12-15 04:21:32 -08:00
Adam Joseph
36b5bfc296 pkgs/top-level/release-outpaths.nix: add attrNamesOnly option 2023-12-15 04:21:32 -08:00
Adam Joseph
8d888a5caa pkgs/top-level/release-outpaths.nix: adjust default path value 2023-12-15 04:21:32 -08:00
Adam Joseph
5c9ec8597b pkgs/top-level/release-outpaths.nix: vendor from ofborg
This commit vendors `outpaths.nix` from ofborg commit

  74f38efa7ef6f0e8e71ec3bfc675ae4fb57d7491
2023-12-15 04:21:32 -08:00
Adam Joseph
02a2822def pkgs/top-level/release.nix: add attrNamesOnly option 2023-12-15 04:21:32 -08:00
Maximilian Bosch
554a6a28a4
Merge pull request #274288 from r-ryantm/auto-update/expr
expr: 1.15.5 -> 1.15.7
2023-12-15 13:14:56 +01:00
Fabian Affolter
f44a638e22 python311Packages.google-cloud-asset: refactor 2023-12-15 13:13:35 +01:00
Maximilian Bosch
52f9c53fdd
Merge pull request #274377 from r-ryantm/auto-update/chrony
chrony: 4.4 -> 4.5
2023-12-15 13:10:05 +01:00
Fabian Affolter
0fb2d1343c python311Packages.google-cloud-asset: 3.20.1 -> 3.22.0
Changelog: https://github.com/googleapis/python-asset/blob/v3.22.0/CHANGELOG.md
2023-12-15 13:09:19 +01:00
Fabian Affolter
9bf4d13993 python311Packages.google-cloud-appengine-logging: 1.3.2 -> 1.4.0
Changelog: https://github.com/googleapis/python-appengine-logging/blob/v1.4.0/CHANGELOG.md
2023-12-15 13:08:26 +01:00
Fabian Affolter
1f769aac00 python311Packages.google-auth-httplib2: 0.1.1 -> 0.2.0
Changelog: https://github.com/googleapis/google-auth-library-python-httplib2/blob/v0.2.0/CHANGELOG.md
2023-12-15 13:01:08 +01:00
Fabian Affolter
95e79a93ce python311Packages.google-cloud-bigtable: 2.21.0 -> 2.22.0
Changelog: https://github.com/googleapis/python-bigtable/blob/v2.22.0/CHANGELOG.md
2023-12-15 12:59:52 +01:00
Fabian Affolter
d6265f327a python311Packages.google-cloud-container: 2.35.0 -> 2.36.0
Changelog: https://github.com/googleapis/google-cloud-python/blob/google-cloud-container-v2.36.0/packages/google-cloud-container/CHANGELOG.md
2023-12-15 12:58:46 +01:00
Florian Klink
f4de47d49e
Merge pull request #274264 from flokli/udev-rules-allow-bin-sh
nixos/udev: allow /bin/sh in udev rules
2023-12-15 13:57:35 +02:00
Fabian Affolter
5e12d668a9 python311Packages.google-cloud-dataproc: refactor 2023-12-15 12:54:36 +01:00
Fabian Affolter
17d6467e71 python311Packages.google-cloud-dataproc: 5.7.0 -> 5.8.0
Changelog: https://github.com/googleapis/google-cloud-python/blob/google-cloud-dataproc-v5.8.0/packages/google-cloud-dataproc/CHANGELOG.md
2023-12-15 12:53:04 +01:00
Fabian Affolter
43e225cec9 python311Packages.google-cloud-logging: 3.8.0 -> 3.9.0
Changelog: https://github.com/googleapis/python-logging/blob/v3.9.0/CHANGELOG.md
2023-12-15 12:45:20 +01:00
Fabian Affolter
ced43a67f2 python311Packages.google-cloud-os-config: 1.15.3 -> 1.16.0
Changelog: https://github.com/googleapis/python-os-config/blob/v1.16.0/CHANGELOG.md
2023-12-15 12:41:33 +01:00
Fabian Affolter
5c24b72c60 python311Packages.google-cloud-redis: 2.13.2 -> 2.14.0
Changelog: https://github.com/googleapis/python-redis/blob/v2.14.0/CHANGELOG.md
2023-12-15 12:40:49 +01:00
Fabian Affolter
67e70b85ae python311Packages.google-cloud-speech: 2.22.0 -> 2.23.0
Changelog: https://github.com/googleapis/google-cloud-python/blob/google-cloud-speech-v2.23.0/packages/google-cloud-speech/CHANGELOG.md
2023-12-15 12:39:55 +01:00
Fabian Affolter
3c7a3116e3 python311Packages.google-cloud-vision: 3.4.5 -> 3.5.0
Changelog: https://github.com/googleapis/python-vision/blob/v3.5.0/CHANGELOG.md
2023-12-15 12:38:46 +01:00
R. Ryantm
a633fd177a go-containerregistry: 0.16.1 -> 0.17.0 2023-12-15 11:34:35 +00:00