Commit Graph
744511 Commits
Author SHA1 Message Date
Wolfgang Walther 69775e2deb pkgs/top-level: refactor mkHybridPkgs 2025-01-25 18:58:09 +01:00
Wolfgang Walther ba6262f2eb pkgs/top-level: refactor mkCrossPkgs 2025-01-25 18:58:07 +01:00
Wolfgang Walther 01a02e41f7 pkgs/top-level: make package sets composable
The various pkgsXYZ top-level package sets did not pass localSystem /
crossSystem to lower levels, so far. This change propagates original
arguments to lower levels, which include the overrides made by an upper
package sets.

There is an extensive test-suite to test various combinations of package
sets in pkgs/test/top-level. There are a few basic promises made:

- Package sets must be idempotent. pkgsMusl.pkgsMusl === pkgsMusl.

- Once pkgsCross is used any subsequent package sets should affect the
  **host platform** and not the build platform. Examples:
  - pkgsMusl.pkgsCross.aarch64-multiplatform is a cross compilation from
musl to glibc/aarch64
  - pkgsCross.aarch64-multiplatform.pkgsMusl is a cross compilation to
musl/aarch64

- Modifications from an earlier layer should not be lost, unless
  explicitly overwritten. Examples:
  - pkgsStatic.pkgsMusl should still be static.
  - pkgsStatic.pkgsCross.gnu64 should be static, but with glibc instead
of musl.

Exceptions / TODOs:
- pkgsExtraHardening is currently not idempotent, because it applies the
  same flags over and over again.

Supersedes #136549
Resolves #114510
Resolves #212494
Resolves #281596
2025-01-25 18:55:03 +01:00
Wolfgang Walther eec21001b0 nixos/nixpkgs: pass original system args instead of elaborated
Passing the elaborated system defeats what pkgs/top-level/default.nix
tries to do: Pass only the original args and let defaults be inferred.

The underlying problem is that lib.systems.elaborate can not deal with
arbitrary overrides, but will often return an inconsistent system
description when partially overriding some values. This becomes most
prominent if trying to override an already elaborated system.
2025-01-25 18:55:03 +01:00
Wolfgang Walther b75355ccc3 pkgs/test/top-level: add tests for package set composability
This adds some basic tests to compose package sets. The cases that are
currently broken
are commented out, they include things like:

- pkgsStatic.pkgsMusl losing the isStatic flag
- pkgsCross.ppc64-musl.pkgsMusl losing the gcc.abi setting
- pkgsCross.mingwW64.pkgsStatic losing the config string
- pkgsLLVM.pkgsMusl losing the useLLVM flag
- pkgsLLVM.pkgsStatic losing the useLLVM flag
- pkgsLLVM.pkgsi686Linux losing the useLLVM flag

And probably more.
2025-01-25 18:55:00 +01:00
Weijia WangandGitHub 9fb5dbf351 netsniff-ng: 0.6.8 -> 0.6.9 (#376637) 2025-01-25 18:53:58 +01:00
Joshua Kobschätzki bb1993232d squid: add config validation
Inspired by NGINX config validation with pkgs.writers
2025-01-25 18:49:34 +01:00
R. Ryantm f14ca70eac rqlite: 8.36.5 -> 8.36.8 2025-01-25 17:41:20 +00:00
Joshua Kobschätzki 3be72f3bc2 squid: make ipv6 configurable 2025-01-25 18:19:39 +01:00
R. Ryantm ab09740243 gitify: 5.17.0 -> 5.18.0 2025-01-25 17:12:15 +00:00
R. Ryantm da1df29472 television: 0.9.3 -> 0.9.4 2025-01-25 17:08:27 +00:00
Corbin Wunderlich 941f3d430a xpraWithNvenc: add nvjpeg support 2025-01-25 12:05:05 -05:00
Wolfgang Walther 071851299f pkgs/top-level: refactor mkPkgs
Sharing a first piece of common code between all package sets makes it
easier to maintain and less likely to introduce a new package set
without this.
2025-01-25 18:01:45 +01:00
Wolfgang Walther 3fcedef056 pkgs/top-level/stage: refactor moving more generic package sets to the bottom
No change, just move appendOverlays and extend to the bottom, since they
will be changed much less often. This makes it easier to compare the
other package sets side-by-side.
2025-01-25 17:59:54 +01:00
Wolfgang Walther 4e7cc47a22 pkgs/top-level: rewrite some outdated comments
This removes all specific references to pkgsCross or pkgsi686Linux, because
they have become outdated with the addition of many more package sets.
2025-01-25 17:59:54 +01:00
Robert SchützandGitHub fb8a07b82e immich: 1.124.2 -> 1.125.2 (#376211) 2025-01-25 08:53:53 -08:00
Arne KellerandGitHub 4a9693ea50 capnproto-rust: 0.17.2 -> 0.20.1; add update script (#376359) 2025-01-25 17:49:37 +01:00
Arne KellerandGitHub c81db3b5f6 kio-extras, kio-extras-kf5: switch to openexr_3 (#375854) 2025-01-25 17:48:45 +01:00
R. Ryantm 244657dd4a python312Packages.ntc-templates: 7.5.0 -> 7.6.0 2025-01-25 16:46:01 +00:00
nicooandGitHub 841148466f Merge #376433: init vst2-sdk at 2018-06-11 2025-01-25 16:42:45 +00:00
Austin HorstmanandGitHub 5857f428f0 nixos/pay-respects: fix environment config (#376453) 2025-01-25 10:41:42 -06:00
emilylange 1edb48ce37 electron-chromedriver_33: 33.3.1 -> 33.3.2
- Changelog: https://github.com/electron/electron/releases/tag/v33.3.2
- Diff: https://github.com/electron/electron/compare/refs/tags/v33.3.1...v33.3.2
- Fixes CVE-2025-0434
- Fixes CVE-2025-0436
- Fixes CVE-2025-0437
2025-01-25 17:37:09 +01:00
emilylange 06795a2e9d electron-chromedriver_32: 32.2.8 -> 32.3.0
- Changelog: https://github.com/electron/electron/releases/tag/v32.3.0
- Diff: https://github.com/electron/electron/compare/refs/tags/v32.2.8...v32.3.0
- Fixes CVE-2024-12693
- Fixes CVE-2024-12694
- Fixes CVE-2024-12695
- Fixes CVE-2025-0434
- Fixes CVE-2025-0436
- Fixes CVE-2025-0437
2025-01-25 17:37:08 +01:00
emilylange 87788c7cd9 electron-source.electron_33: 33.3.1 -> 33.3.2
- Changelog: https://github.com/electron/electron/releases/tag/v33.3.2
- Diff: https://github.com/electron/electron/compare/refs/tags/v33.3.1...v33.3.2
- Fixes CVE-2025-0434
- Fixes CVE-2025-0436
- Fixes CVE-2025-0437
2025-01-25 17:37:07 +01:00
emilylange 0033f59e91 electron-source.electron_32: 32.2.8 -> 32.3.0
- Changelog: https://github.com/electron/electron/releases/tag/v32.3.0
- Diff: https://github.com/electron/electron/compare/refs/tags/v32.2.8...v32.3.0
- Fixes CVE-2024-12693
- Fixes CVE-2024-12694
- Fixes CVE-2024-12695
- Fixes CVE-2025-0434
- Fixes CVE-2025-0436
- Fixes CVE-2025-0437
2025-01-25 17:37:05 +01:00
emilylange 517c9d05bb electron_33-bin: 33.3.1 -> 33.3.2
- Changelog: https://github.com/electron/electron/releases/tag/v33.3.2
- Diff: https://github.com/electron/electron/compare/refs/tags/v33.3.1...v33.3.2
- Fixes CVE-2025-0434
- Fixes CVE-2025-0436
- Fixes CVE-2025-0437
2025-01-25 17:37:04 +01:00
emilylange fca5b2ef00 electron_32-bin: 32.2.8 -> 32.3.0
- Changelog: https://github.com/electron/electron/releases/tag/v32.3.0
- Diff: https://github.com/electron/electron/compare/refs/tags/v32.2.8...v32.3.0
- Fixes CVE-2024-12693
- Fixes CVE-2024-12694
- Fixes CVE-2024-12695
- Fixes CVE-2025-0434
- Fixes CVE-2025-0436
- Fixes CVE-2025-0437
2025-01-25 17:37:01 +01:00
nicoo c33c3066be oxefmsynth: use the packaged version of vst2-sdk 2025-01-25 16:30:26 +00:00
nicoo 0285aa6347 jackass: use the packaged version of vst2-sdk 2025-01-25 16:30:23 +00:00
nicoo 80b19f8e49 bespokesynth: use the packaged version of vst2-sdk 2025-01-25 16:30:19 +00:00
nicoo eee2e78a74 airwindows: use the packaged copy of vst2-sdk 2025-01-25 16:30:14 +00:00
nicoo c6f20632f5 airwave.meta: min-scope with lib 2025-01-25 16:30:14 +00:00
nicoo b98418678d airwave: use the packaged version of vst2-sdk 2025-01-25 16:30:09 +00:00
nicoo c8721658d5 vst2-sdk: init at 2018-06-11 2025-01-25 16:29:30 +00:00
R. Ryantm 0baa7efcbc xlights: 2024.20 -> 2025.01 2025-01-25 16:21:11 +00:00
Adam C. StephensandGitHub ee8068209b incus: 6.8.0 -> 6.9.0 (#376732) 2025-01-25 11:21:03 -05:00
R. Ryantm ab771c6ee2 unpoller: 2.14.0 -> 2.14.1 2025-01-25 16:16:26 +00:00
R. Ryantm c16889b9bd python312Packages.webauthn: 2.4.0 -> 2.5.0 2025-01-25 16:13:35 +00:00
Doron BeharandGitHub d6d5854dbb uq: remove (#376674) 2025-01-25 18:07:53 +02:00
R. Ryantm 18443d64da python312Packages.pydata-google-auth: 1.9.0 -> 1.9.1 2025-01-25 16:07:43 +00:00
Sefa EyeogluandGitHub 46e3ebd975 vkquake: install a desktop file (#358161) 2025-01-25 17:05:13 +01:00
SandroandGitHub a2e08fbd52 nixos/simplesamlphp: don't configure empty options (#370787) 2025-01-25 16:59:55 +01:00
SandroandGitHub 11afe48cdc python313Packages.gattlib: fix build against Python 3.13 (#372684) 2025-01-25 16:59:09 +01:00
Théo Bori fce0852e77 vkquake: install a desktop file 2025-01-25 16:52:24 +01:00
Adam C. Stephens 272fb5babf nixos/tests/incus: extend check timeouts 2025-01-25 10:50:36 -05:00
Maciej KrügerandGitHub 7f7ec703ed qlog: 0.40.1 -> 0.41.1 (#372954) 2025-01-25 16:47:54 +01:00
SandroandGitHub a449b59c1c feather: pin to boost186 (#376241) 2025-01-25 16:46:05 +01:00
Adam C. Stephens b457d4c76b incus: 6.8.0 -> 6.9.0
https://discuss.linuxcontainers.org/t/incus-6-9-has-been-released/22679
https://github.com/lxc/incus/releases/tag/v6.9.0
2025-01-25 10:33:15 -05:00
Christina SørensenandGitHub 0909343035 epilys-bb: unstable-2020-12-04 -> 0.4.4; useFetchCargoVendor (#376648) 2025-01-25 16:25:19 +01:00
sanana d43db7865d freesweep: add sanana as maintainer 2025-01-25 18:24:10 +03:00