Commit graph

559920 commits

Author SHA1 Message Date
Fabian Affolter
a5469230b2
Merge pull request #274453 from fabaff/google-cloud-asset-bump
python311Packages.google-cloud-asset: 3.20.1 -> 3.22.0
2023-12-15 15:30:55 +01:00
Adam C. Stephens
f17e8fd587
Merge pull request #274126 from adamcstephens/ovn/init
openvswitch: 3.1.1 -> 3.2.1, openvswitch-lts: 2.17.6 -> 2.17.8
2023-12-15 09:11:29 -05:00
Matthieu Coudron
2191b7662d lua.lib: support arbitrary settings in generateLuarocksConfig
I wanted to improve the generated luarocks config.
The current system appends a string to it, this commit allows to pass
arbitrary nix code and have it autoconverted to lua along with the
default settings in the luarocks config.
2023-12-15 15:05:46 +01:00
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
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
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
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
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
Gaetan Lepage
ee1148c372 mission-center: 0.4.1 -> 0.4.3
Changelog: https://gitlab.com/mission-center-devs/mission-center/-/releases/v0.4.3
2023-12-15 11:30:37 +00:00
Alyssa Ross
1cf35039f5 cloud-hypervisor: 36.0 -> 37.0 2023-12-15 12:21:53 +01:00
Maximilian Bosch
c9e01dafc0
Merge pull request #273188 from SuperSandro2000/fzf-perl-locale
fzf: reduce closure size by just quieten perl instead of providing gl…
2023-12-15 12:20:15 +01:00
Gaetan Lepage
8d8e2141f5 gpu-burn: unstabe-2021-04-29 -> unstable-2023-11-10 2023-12-15 11:13:57 +00:00
Fabian Affolter
19500d10c6
Merge pull request #274193 from fabaff/dep-scan
dep-scan: init at 5.0.2
2023-12-15 11:44:19 +01:00
Fabian Affolter
d5642915e2
Merge pull request #274224 from fabaff/ad-miner
ad-miner: init at 0.6.0
2023-12-15 11:44:09 +01:00
Fabian Affolter
8f54524603
Merge pull request #274290 from fabaff/teslajsonpy-bump
python311Packages.teslajsonpy: 3.9.7 -> 3.9.9
2023-12-15 11:43:57 +01:00
K900
02357adddd
Merge pull request #274409 from K900/unblock-channels
Unblock channels
2023-12-15 13:23:40 +03:00
Janne Heß
39bbee99ff
Merge pull request #274262 from NetaliDev/zammad-update
zammad: 6.1.0 -> 6.2.0
2023-12-15 10:59:17 +01:00
R. Ryantm
db1680d1d6 gh: 2.40.0 -> 2.40.1 2023-12-15 19:52:04 +10:00
Profpatsch
cb37959f99 miller: copy manpage to $man 2023-12-15 10:39:28 +01:00
K900
1950eec4aa nixos/ldso: remove string context from linker soname
Unbreaks installer tests that otherwise start depending on i686-glibc
2023-12-15 12:39:26 +03:00
K900
7e3d335152 nixos/tests/containers-imperative: download more RAM 2023-12-15 12:38:08 +03:00
Eric Bailey
80b93fa3e8 gotools: 0.7.0 -> 0.16.1 2023-12-15 10:12:17 +01:00
7c6f434c
bb8b1e6bd7
Merge pull request #272694 from r-ryantm/auto-update/sgt-puzzles
sgt-puzzles: 20231025.35f7965 -> 20231120.08365fb
2023-12-15 09:00:59 +00:00