summaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
* nixos/qemu-vm: simplify building nix store image•••Summary of this change: - Simplify code. - Stop a disk image from being cached in the binary cache. - Make erofs Nix Store image build in an acceptable time outside of testing environments (like `darwin.builder`). - Do not regress on performance for tests that use many store paths in their Nix store image. - Slightly longer startup time for tests where not many store paths are included in the image (these probably shouldn't use `useNixStoreImage` anyways). - Slightly longer startup time when inputs of VM do not change because the Nix store image is not cached anymore. Remove the `storeImage` built with make-disk-image.nix. This produced a separate derivation which is then cached in the binary cache. These types of images should be avoided because they gunk up the cache as they change frequently. Now all Nix store images, whether read-only or writable are based on the erofs image previously only used for read-only images. Additionally, simplify the way the erofs image is built by copying the paths to include to a separate directory and build the erofs image from there. Before this change, the list of Nix store paths to include in the Nix store image was converted to a complex regex that *excludes* all other paths from a potentially large Nix store. This previous approach suffers from two issues: 1. The regex is complex and, as admitted in the source code of the includes-to-excludes.py script, most likely contains at least one error. This means that it's unlikely that anyone will touch this piece of software again. 2. When the Nix store image is built from a large Nix store (like when you build the VM script to run outside of any testing context) this regex becomes painfully slow. There is at least one prominent use-case where this matters: `darwin.builder`. Benchmarking impressions: - Building Nix store via make-disk-image.nix takes ~25s - Building Nix store as an erofs image takes ~4s - Running nixosTests.qemu-vm-writable-store-image takes ~10s when building the erofs image with the regex vs ~14s when building by copying to a temporary directory. - nixosTests.gitlab which had the biggest gains from the initial erofs change takes the same time as before. - On a host with ~140k paths in /nix/store, building the erofs image with the regex takes 410s as opposed to 6s when copying to a temporary directory. origin/python-test-refactoringnikstur2024-07-182-153/+30
* Merge pull request #328051 from mweinelt/peewee-migrate-1.13.0•••python312Packages.peewee-migrate: 1.12.2 -> 1.13.0Martin Weinelt2024-07-181-2/+2
|\
| * python312Packages.peewee-migrate: 1.12.2 -> 1.13.0•••https://github.com/klen/peewee_migrate/compare/refs/tags/1.12.2...1.13.0 Martin Weinelt2024-07-181-2/+2
* | Merge pull request #327960 from atorres1985-contrib/swift-remove-dtzwill•••Swift: remove dtzwill and create team❄️2024-07-1815-13/+24
|\ \
| * | swiftpm2nix: migrate to Swift suite directory•••Since they are from the same team. Anderson Torres2024-07-175-3/+3
| * | treewide: update meta.maintainers for Swift suiteAnderson Torres2024-07-1710-10/+10
| * | treewide: add lib.teams.swift.members to Swift suiteAnderson Torres2024-07-1710-10/+10
| * | teams: populate swift.membersAnderson Torres2024-07-171-1/+6
| * | teams: create a team for Swift languageAnderson Torres2024-07-171-0/+6
| * | treewide: remove dtzWill as maintainer [no orphans]•••Since theey is not active in a long span of time. None of the packages in this commit are orphan. All the packages listed here are related to Swift programming language compiler suite. Anderson Torres2024-07-1710-10/+10
* | | Merge pull request #328186 from tweag/update-ci-tooling•••ci: update toolingThomas Gerbet2024-07-182-3/+4
|\ \ \
| * | | ci/pinned-nixpkgs.json: update•••Update it to https://hydra.nixos.org/eval/1807730#tabs-inputs, which notably contains some fixes for nixfmt: https://github.com/NixOS/nixfmt/pull/215 Silvan Mosberger2024-07-181-2/+2
| * | | ci/update-pinned-nixpkgs.sh: Allow setting the rev•••This script only needs to make sure that the revision has the relevant packages built, it doesn't necessarily need to be a channel version. This commit makes it possible to set the revision explicitly when calling the update script. Silvan Mosberger2024-07-181-1/+2
* | | | Merge pull request #290730 from nikstur/qemu-vm-refactoring•••qemu-vm.nix refactoringlassulus2024-07-183-69/+90
|\ \ \ \
| * | | | nixos/qemu-vm: remove creation of /etc/nixos•••/etc/nixos is already created by stage-2-init.sh nikstur2024-07-181-8/+0
| * | | | nixos/qemu-vm: consistently use efiSysMountPoint•••Remove the explicit creation of efiSysMountPoint. This is not needed in the scripted or the systemd initrd. nikstur2024-07-181-7/+2
| * | | | nixos/qemu-vm: fsck ESP•••The ESP is a writable vfat filesystem that can be fscked like any other fs thus we should stick to the default. nikstur2024-07-181-1/+0
| * | | | nixos/tests/qemu-vm-store: initnikstur2024-07-182-0/+72
| * | | | nixos/qemu-vm: use new overlayfs APInikstur2024-07-181-41/+16
| * | | | nixos/qemu-vm: remove duplication between scripted and systemd initrdnikstur2024-07-181-19/+7
* | | | | Merge pull request #324438 from mweinelt/nss-3.102•••nss_latest: 3.101.1 -> 3.102Martin Weinelt2024-07-181-2/+2
|\ \ \ \ \
| * | | | | nss_latest: 3.101.1 -> 3.102•••https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/M1CvveRmbGU Martin Weinelt2024-07-041-2/+2
* | | | | | Merge pull request #327656 from eclairevoyant/open-fprintd•••open-fprintd: add gapps wrapperArtturin2024-07-181-1/+6
|\ \ \ \ \ \
| * | | | | | open-fprintd: add gapps wrapperéclairevoyant2024-07-161-1/+6
* | | | | | | Merge pull request #326544 from mweinelt/matrix-media-repo-1.3.6•••matrix-media-repo: 1.3.4 -> 1.3.6Martin Weinelt2024-07-182-29/+3
|\ \ \ \ \ \ \
| * | | | | | | matrix-media-repo: 1.3.4 -> 1.3.6•••https://github.com/t2bot/matrix-media-repo/blob/v1.3.5/CHANGELOG.md https://github.com/t2bot/matrix-media-repo/blob/v1.3.6/CHANGELOG.md Martin Weinelt2024-07-122-29/+3
* | | | | | | | Merge pull request #325953 from mweinelt/evcc-0.128.2•••evcc: 0.128.1 -> 0.128.2Martin Weinelt2024-07-181-3/+3
|\ \ \ \ \ \ \ \
| * | | | | | | | evcc: 0.128.1 -> 0.128.2•••https://github.com/evcc-io/evcc/releases/tag/0.128.2 Martin Weinelt2024-07-101-3/+3
* | | | | | | | | verilator: 5.022 -> 5.026••• * Properly output version with verilator --version (set VERILATOR_SRC_VERSION at compile time) * No need to wrap the binaries anymore. * Fix verilator --gdbbt Henner Zeller2024-07-181-18/+10
* | | | | | | | | verilator: format with nixfmtHenner Zeller2024-07-181-10/+49
* | | | | | | | | Merge pull request #328194 from dotlambda/python3Packages.python-rapidjson•••python312Packages.python-rapidjson: 1.16 -> 1.18Robert Schütz2024-07-181-3/+3
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | python312Packages.python-rapidjson: 1.16 -> 1.18•••Diff: https://github.com/python-rapidjson/python-rapidjson/compare/refs/tags/v1.16...v1.18 Changelog: https://github.com/python-rapidjson/python-rapidjson/blob/refs/tags/v1.18/CHANGES.rst Robert Schütz2024-07-181-3/+3
* | | | | | | | | | Merge pull request #328028 from GaetanLepage/waybar•••waybar: 0.10.3 -> 0.10.4Masum Reza2024-07-181-4/+12
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | waybar: 0.10.3 -> 0.10.4•••Diff: https://github.com/Alexays/Waybar/compare/0.10.3...0.10.4 Changelog: https://github.com/alexays/waybar/releases/tag/0.10.4 Gaetan Lepage2024-07-181-4/+12
* | | | | | | | | | | Merge pull request #328196 from dotlambda/python3Packages.trio-asyncio•••python312Packages.trio-asyncio: 0.14.1 -> 0.15.0Robert Schütz2024-07-181-2/+2
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | python312Packages.trio-asyncio: 0.14.1 -> 0.15.0•••Diff: https://github.com/python-trio/trio-asyncio/compare/refs/tags/v0.14.1...v0.15.0 Changelog: https://github.com/python-trio/trio-asyncio/blob/v0.15.0/docs/source/history.rst Robert Schütz2024-07-181-2/+2
| | |/ / / / / / / / / | |/| | | | | | | | |
* | | | | | | | | | | Merge pull request #325526 from dotlambda/python3Packages.structlog•••python312Packages.structlog: 24.1.0 -> 24.4.0Robert Schütz2024-07-181-5/+3
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | python312Packages.structlog: 24.1.0 -> 24.4.0•••Diff: https://github.com/hynek/structlog/compare/refs/tags/24.1.0...24.4.0 Changelog: https://github.com/hynek/structlog/blob/24.4.0/CHANGELOG.md Robert Schütz2024-07-181-5/+3
* | | | | | | | | | | | Merge pull request #321083 from cinnamonpancake/librewolf_ua_fix•••librewolf: remove with-app-basename flag that exposes LibreWolf in the user agent string when resistFingerprinting is disabled❄️2024-07-181-1/+0
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | librewolf: remove redundant build flag that reveals "LibreWolf" in the user a...cinnamonpancake2024-06-201-1/+0
* | | | | | | | | | | | | Merge pull request #327213 from sternenseemann/lerc-pkg-config•••lerc: expose available pkg-config modules via metaRobert Schütz2024-07-181-3/+9
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | lerc: expose available pkg-config modules via metasternenseemann2024-07-141-0/+6
| * | | | | | | | | | | | | lerc: move to finalAttrs•••We'll need to use finalPackage if we want to test for the presence of pkg-config files via passthru.tests. sternenseemann2024-07-141-3/+3
* | | | | | | | | | | | | | Merge pull request #325795 from teutat3s/ansible-lint-24.6.1•••ansible-lint: 24.2.2 -> 24.7.0Sandro2024-07-181-3/+5
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | ansible-lint: 24.2.2 -> 24.7.0•••https://github.com/ansible/ansible-lint/compare/v24.2.2...v24.7.0 teutat3s2024-07-181-3/+5
* | | | | | | | | | | | | | | Merge pull request #326545 from mweinelt/makefun-1.15.4•••python312Packages.makefun: 1.15.2 -> 1.15.4Martin Weinelt2024-07-181-8/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | python312Packages.makefun: 1.15.2 -> 1.15.4•••https://github.com/smarie/python-makefun/releases/tag/1.15.3 https://github.com/smarie/python-makefun/releases/tag/1.15.4 Martin Weinelt2024-07-121-8/+2
| | |_|_|_|_|_|_|/ / / / / / / | |/| | | | | | | | | | | | |
* | | | | | | | | | | | | | | Merge pull request #317444 from seanrmurphy/add-commitizen-go•••commitizen-go: init at 1.0.3Aleksana2024-07-181-0/+39
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | commitizen-go: init at 1.0.3•••Co-authored-by: Aleksana <alexander.huang.y@gmail.com> Sean Murphy2024-07-121-0/+39
* | | | | | | | | | | | | | | | Merge pull request #327694 from schnow265/masterMarcus Ramberg2024-07-182-0/+32
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \