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>
We were still building some minor parts of qemu-traditional by not
disabling it explicitly.
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
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>
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>
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>
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>
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>
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>
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>
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>
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.