Commit Graph

4409 Commits

Author SHA1 Message Date
Fernando Rodrigues
59f88cc37a
xen: ensure xsm-policy is being built when FLASK is enabled
Flask is disabled by default, but this will save someone an
overrideAttrs overlay if they're using FLASK.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-08-21 13:37:31 -03:00
Fernando Rodrigues
5facf7887f
xen: fully remove qemu-traditional
We were still building some minor parts of qemu-traditional by not
disabling it explicitly.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-08-21 13:37:31 -03:00
Fernando Rodrigues
84c4c4be35
xen: drop systemd dependency from 4.19 and above
From the 4.19 release notes:

When building with Systemd support (./configure --enable-systemd),
remove libsystemd as a build dependency. Systemd Notify support is
retained, now using a standalone library implementation.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-08-21 13:37:30 -03:00
Fernando Rodrigues
49433ed9cc
xen: call the postPatch for each pre-fetched source manually instead of going through withTools
withTools and withPrefetchedSources are pretty complicated functions
meant to generalise per-version calls to build phases by each
pre-fetched source. This is step 1 in deprecating them.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-08-21 13:37:30 -03:00
Fernando Rodrigues
37eddc4f7e
xen: dehardcode pname
This is useful for the future when we begin building custom versions of
Xen, such as `qubes-vmm-xen`.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-08-21 13:37:30 -03:00
Fernando Rodrigues
403837b6a8
xen: deduplicate pkgs.xen and pkgs.xenPackages.xen
There is no point in having both. The top-level package now points
directly to the latest version.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-08-21 13:37:29 -03:00
Fernando Rodrigues
a52df9cf48
xen: move generic files to generic/ directory
Most patches used in the Xen build are generic, so let's keep everything
that applies to all versions in one folder.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-08-21 13:37:12 -03:00
Peder Bergebakken Sundt
e2855c6617
Merge pull request #334396 from kjeremy/jkolb/open-vm-tools-by-name
open-vm-tools: move to package by name
2024-08-16 03:13:58 +02:00
Alyssa Ross
f768a86c5a crosvm: 126.0 -> 127.0 2024-08-15 07:45:57 +02:00
Fernando Rodrigues
cb8e8bbe75
xen: patch with XSA-460 and XSA-461
- Error handling in x86 IOMMU identity mapping  (CVE-2024-31145)
- PCI device pass-through with shared resources (CVE-2024-31146)

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-08-14 23:27:05 -03:00
Alyssa Ross
8392964211 cloud-hypervisor: backport patch to fix UB
This is required for the tests to pass in release mode with Rust
1.80 (and a good idea to fix regardless).
2024-08-14 13:37:07 +02:00
Sebastián Mancilla
d37dea5d80
Merge pull request #332986 from saschagrunert/crun
crun: 1.15 -> 1.16
2024-08-13 22:04:02 -04:00
Nick Cao
32227c9e70
Merge pull request #334284 from r-ryantm/auto-update/nixpacks
nixpacks: 1.26.0 -> 1.26.1
2024-08-13 15:38:02 -04:00
Emily
f327532e8b
Merge pull request #333649 from Builditluc/update-youki
youki: 0.3.2 -> 0.3.3
2024-08-13 20:27:43 +01:00
Jeremy Kolb
3f7a7124b8 open-vm-tools: move to package by name and format 2024-08-13 10:52:51 -04:00
Julius Michaelis
aa4e34969b qemu: add workaround for static build closure pulling in buildinput (#83667) 2024-08-13 13:36:03 +02:00
Zhaofeng Li
6e81b41ce7 qemu: Fix static build 2024-08-13 13:36:03 +02:00
Julius Michaelis
376b49ee4c qemu: Skip dependencies unnecessary for qemu-user which fail in pkgsStatic (libaio, dtc) 2024-08-13 13:36:03 +02:00
Julius Michaelis
dd5bc7b7fe qemu-user: add qemu "user space emulator only" variant
When used from pkgsStatic, this is synonymous with the "qemu-user-static"
packages available in other distros.
2024-08-13 13:36:03 +02:00
Zhaofeng Li
a4ba1adf0b qemu: Support disabling blobs
Not needed for a minimal qemu-user-static build.
2024-08-13 13:36:03 +02:00
Zhaofeng Li
12428702eb qemu: Support disabling tools
Not needed for a minimal qemu-user-static build.
2024-08-13 13:36:03 +02:00
Zhaofeng Li
a94afe42c0 qemu: Support disabling TCG plugins
The plugin .so's do not build statically.
2024-08-13 13:36:03 +02:00
Zhaofeng Li
ed38ae461a qemu: Skip doc-related sphinx dependencies sphinx when docs are disabled 2024-08-13 13:36:03 +02:00
Julius Michaelis
e8c75c234e qemu: remove unused texinfo dependency 2024-08-13 13:36:03 +02:00
R. Ryantm
387fb00c51 nixpacks: 1.26.0 -> 1.26.1 2024-08-13 02:49:22 +00:00
Peder Bergebakken Sundt
e370a305d7
Merge pull request #331742 from r-ryantm/auto-update/colima
colima: 0.6.10 -> 0.7.0
2024-08-11 05:23:00 +02:00
Fernando Rodrigues
8a310ff87d
xen: add patch to fix hydra failure
Second time's the charm! We have a transient SIGPIPE error caused by the
Figs makefile. This seems to only be reproducible in some Hydra
machines. This patch can be upstreamed into Xen if it fixes the build
failures.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-08-10 21:35:37 +00:00
Builditluc
1e495eb9d4
youki: 0.3.2 -> 0.3.3 2024-08-10 13:05:33 +02:00
Donovan Glover
e34c7a6b2a
Merge pull request #333353 from techknowlogick/bump-firecracker
firecracker: 1.7.0 -> 1.8.0
2024-08-10 01:32:26 +00:00
Sandro
6d08aaedf5
Merge pull request #332969 from teutat3s/docker-tag-25.0.6 2024-08-09 14:11:27 +02:00
techknowlogick
307313162e firecracker: move to pkgs/by-name 2024-08-08 22:32:05 -04:00
techknowlogick
d7bbd37ebe firecracker: nixfmt 2024-08-08 22:30:29 -04:00
techknowlogick
981d652a4d firecracker: 1.7.0 -> 1.8.0 2024-08-08 22:29:46 -04:00
Fernando Rodrigues
13b41a1ed1
xen: fix meta.longDescription
The description was mangled in search.nixos.org. It recommended using
qemu_xen with a Xen that already included QEMU, and there were edge
cases where there wouldn't be enough newlines to properly display the
full description.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-08-08 14:43:55 -03:00
Fernando Rodrigues
7d7fc69004
xen: build full html documentation
Xen not only has manual pages, but also a full documentation written
in HTML files. By adding ImageMagick, the `fig2dev` build doesn't
fail, so we can have the docs build in the $doc output.

This also fixes the Hydra build, but who cares about that? We have
good Xen docs now!

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-08-08 14:43:54 -03:00
Fernando Rodrigues
e073c3321b
xen: package documentation fixes
Minor changes to comments, examples and the README.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-08-08 14:43:54 -03:00
Sascha Grunert
89e00aec5c
crun: 1.15 -> 1.16
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-08-07 14:28:52 +02:00
teutat3s
5797eda8d8
docker_25: fix cli hash for 25.0.6 2024-08-07 12:27:06 +02:00
Peder Bergebakken Sundt
462b96d2a1
Merge pull request #326243 from jcaesar/pr-13
treewide: skip generating shell completions using $out/bin/… when cross compiling
2024-08-06 08:15:56 +02:00
Pol Dellaiera
8a1fc64d9a
Merge pull request #332330 from r-ryantm/auto-update/docker-buildx
docker-buildx: 0.16.1 -> 0.16.2
2024-08-05 08:28:33 +02:00
R. Ryantm
6dd3876cb3 docker-buildx: 0.16.1 -> 0.16.2 2024-08-04 20:22:17 +00:00
Julius Michaelis
6a9beaf893 treewide: skip generating shell completions using $out/bin/… when cross compiling
This focuses on Rust packages, since the most commonly used argument
parser library (clap/structopt) makes the following pattern natural and
thus common:

  postInstall = ''
    installShellCompletion --cmd foo \
      --bash <($out/bin/foo completion bash) \
      …

This commit just guards those with

lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform)

splitting the string where unrelated actions are performed.
2024-08-04 10:50:48 +09:00
Peder Bergebakken Sundt
8d17b7454d
Merge pull request #330070 from chayleaf/looking-glass
looking-glass-client: switch to finalAttrs
2024-08-03 22:18:37 +02:00
Pol Dellaiera
1daf761b45
Merge pull request #330796 from FriedrichAltheide/virtualbox-7.0.20
virtualbox: 7.0.18 -> 7.0.20
2024-08-03 21:37:12 +02:00
Sandro
ecf64aca4c
Merge pull request #331828 from r-ryantm/auto-update/podman
podman: 5.1.2 -> 5.2.0
2024-08-03 16:49:21 +02:00
Sandro
90fc87038b
Merge pull request #331944 from aaronjheng/podman-tui
podman-tui: 1.1.0 -> 1.2.0
2024-08-03 16:48:53 +02:00
Aaron Jheng
b68a438294
podman-tui: move to by-name 2024-08-03 08:44:50 +00:00
R. Ryantm
ff0a196c65 podman: 5.1.2 -> 5.2.0 2024-08-02 18:07:55 +00:00
R. Ryantm
b8c7a12443 colima: 0.6.10 -> 0.7.0 2024-08-02 11:15:47 +00:00
R. Ryantm
73cf5e4073 cri-o-unwrapped: 1.30.3 -> 1.30.4 2024-08-02 03:58:40 +00:00