* gnu/packages/admin.scm (shepherd-0.10)[native-inputs]: When target-riscv64?
is true, use guile-fibers-1.1.
Change-Id: I89d2e1a7bd6cbc69d19230d9b1c45ce6e339a13d
* gnu/system/image.scm: Switch Inversion logic, it allow we use customize
bootloader with gpt image.
Change-Id: I801327f6e826a37588b8f0f5246ca820e742f721
Buildah is fundamentally similar to podman and provides its own Makefile.
This commit switches from go-build-system to gnu-build-system so that the
build can be done using `make' instead of reinvention some parts (like
documentation) in the guile. The package pretty much follows how podman
package looks like.
* gnu/packages/containers.scm (buildah)[source]: Reformat.
[build-system]: Use gnu-build-system.
[arguments]<#:import-path, #:unpack-path, #:go, #:install-source?>: Delete.
<#:make-flags>: Set make flags.
<#:test-target>: Set, even though the tests are disabled.
<#:imported-modules>: Also import (guix build go-build-system) for the
remove-go-references phase.
<#:phases>{'prepare-install-docs, 'build-docs, 'install-docs}: Delete.
{'configure}: Delete.
{'set-env, 'check, 'symlink-helpers, 'wrap-buildah, 'remove-go-references}
{'install-completions}: New phases.
[inputs]: Remove no longer used cni-plugins, conmon, runc. Add bash-minimal.
[native-inputs]: Remove gnu-make, add go-1.21 and bats.
Change-Id: I0ddd5febb0116a71a857e2a98a9951dbe8bd40d9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Substantial rework of the podman package. The source is no longer patched (at
all) and all necessary modifications were moved into wrap-program and phases.
Not everything is supported out of the box, but description mentions what
packages to install to get additional functionality working.
* gnu/packages/containers.scm (podman)[source]: Remove snippet and patches.
[arguments]<#:make-flags>: Add HELPER_BINARIES_DIR. Add GOMD2MAN to actually
use go-github-com-go-md2man package instead of the bundled version.
<#:imported-modules>: Add (guix build go-build-system).
<#:phases>{'set-env}: Set `CC' as an environment variable due to bug in make
before 4.4.
{'fix-hardcoded-paths}: Remove everything except patching `libexec' and `lib'
locations.
{'symlink-helpers}: New phase symlinking tools not discoverable via $PATH into
one directory (`HELPER_BINARIES_DIR').
{'wrap-podman}: New phase wrapping `podman' to set correct $PATH.
{'remove-go-references}: New phase stripping references to the golang
toolchain from the binaries.
[inputs]: Remove no longer needed cni-plugins, slirp4netns. Remove referenced
in 'wrap-podman conmon, crun, iptables, passt. Move go-github-com-go-md2man
into native-inputs. Add bash-minimal.
[native-inputs]: Add custom grep with supported -P. Use newer go. Add
mandoc.
[description]: Explain how to get `podman compose' and `podman machine'
working.
* gnu/packages/patches/podman-program-lookup.patch: Delete file.
Change-Id: Ifc28971a68751831d781517b041eec951a617087
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This is handled automatically by go-build-system, but (obviously) not by the
gnu-build-system, so add the phase manually.
* gnu/packages/containers.scm (gvisor-tap-vsock)[arguments]<#:phases>: Add
'remove-go-references phase.
Change-Id: I5cef0bc03dfa7f219bdfec4226d0e7772401a5a5
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
cgroup2 is now the default type.
* gnu/packages/containers.scm (podman): Drop the comment.
Change-Id: I197ed7e4901b26ad820295ed7adcaffd7bf533f5
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
* gnu/packages/python-xyz.scm (python-numba)[arguments]: Adjust the
'disable-failing-tests phase to skip some additional tests on
aarch64-linux and powerpc64le-linux. Also when building for armhf-linux
accept a wider range of python platforms as being part of armhf-linux.
Change-Id: If9edf9282684931a2a4cdcfed692ed3da1d4ec6e
* gnu/packages/bioinformatics.scm (samtools)[arguments]: When building
for i686-linux adjust the make-flags to specifically use the sse math
libraries.
Change-Id: I322d521cbe87e10db7c23db8e68bb377db966aa7
Use valgrind rather than valgrind/interactive, as this doesn't have gdb as an
input, which makes it easier to update gdb.
* gnu/packages/ruby.scm (ruby-ruby-memcheck)[inputs]: Use valgrind.
Change-Id: Icfcee2c27fc41e68e1a34b38c043ece188cc56af
* gnu/packages/flashing-tools.scm (0xffff): Update to 0.10.
[arguments]: Use gexps.
Change-Id: Ifb54578deb016a88e6314ecb7d16966c9294d7b3
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
"xdot" would always fail to run when graphviz "dot" binary is not available
directly in the user system. This patch fixes it by adding graphviz binaries
from the inputs to the PATH environment variable in "xdot" wrapping script.
Reported by Ada Stevenson <adanskana@gmail.com> in
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70910
* gnu/packages/graphviz.scm (xdot) [arguments]: Add the "bin" directory from
the graphviz input to the xdot wrapping.
Change-Id: Iba4bbc37daf07407ad4c18b822956fbb730c0033
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Calling 'delete' on the list of packages would delete *all* occurrences of a
given object, not just the first one. This meant that if the user had
something like:
(packages (cons nss-certs %base-packages))
In their operating system declaration, no nss-certs would end up in the final
list. To guard against this, guard against this by checking that more than
one nss-certs package exist even after deduplication.
* gnu/system.scm (operating-system-packages): Guard against deleting all
nss-certs when a single nss-certs package object is listed multiple times.
Fixes: https://issues.guix.gnu.org/70850
Change-Id: Id93be9242e026fd2e96a442941df80b94664ef9a
* gnu/services/pm.scm
(power-profiles-configuration): New configuration.
(power-profiles-daemon-shepherd-service): New procedure.
(power-profiles-daemon-activation): New variable.
(power-profiles-daemon-service-type): New procedure.
* doc/guix.texi (Power Management Services): Document it.
Change-Id: Ib035d993ed82eec2a43f3ba2b4c92f77e08a0fd7
Signed-off-by: Christopher Baines <mail@cbaines.net>
* gnu/packages/patches/ddcci-driver-linux-linux-6.8.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/linux.scm (ddcci-driver-linux): Apply it.
Change-Id: Iac63146e67333aed2a95e8064b19f031c97a4134
Cover-letter:
Add BTF support to kernel, sysdig and dependents, zstd-compressed modules
This series adds BTF (Berkeley Type Format) support to our kernel, catching up
with other main distributions in enabling embedded BPF (Berkeley Packet
Filter) programs.
This was motivated by packaging 'sysdig', a system introspection application
that can make use of BTF. Adding BTF does incur some size increase; with
'linux-libre' package going up from 132 MiB to 164 MiB (24%). This is later
somewhat mitigated by using Zstd compressed (at maximum level, 19) kernel
modules, which brings the kernel size back down to 144 MiB, which corresponds
to a more reasonable 9% increase from before this series. The BPF kernel
variant we were carrying is removed as proper BPF support will now exists in
our main kernel.
That's it! I hope you enjoy using 'csysdig' to keep track of the syscalls and
IO usage of your process/threads.
END
Change-Id: Icb5fc659f529a2a840281284bfb0d74a0cc9b9d9
* gnu/packages/icu4c.scm (icu4c-68): Delete variable.
Only 0ad depended on it, and the dependency has been upgraded in the
previous commit.
Change-Id: If9d5741f25329ea0026401b37b30a7ab7731e3d9
Fixes build on aarch64 where icu4c-68 is broken.
* gnu/packages/games.scm (0ad)[inputs]: Replace icu4c-68 with icu4c.
Change-Id: Ie2cade592e224eb72dc3286ba3b38626cd86b85b
Signed-off-by: Andreas Enge <andreas@enge.fr>
* gnu/packages/maths.scm (why3) <propagated-inputs>: Add
ocaml-ppx-deriving, ocaml-ppx-sexp-conv, ocaml-re and ocaml-sexplib to
enable extra features.
Change-Id: Ia3b66ac08cc25097967c6e18f2193601fb748cac
Signed-off-by: Andreas Enge <andreas@enge.fr>
* gnu/packages/maths.scm (why3): Use new style and move arguments
above input fields.
Change-Id: Ia9cb04cafe426d7f20c5efb10ca540572dbd3be9
Signed-off-by: Andreas Enge <andreas@enge.fr>
* gnu/packages/ocaml.scm (ocaml-lablgtk3-sourceview3): Move gtksourceview-3
from native-inputs to propagated-inputs. Remove native-inputs and use
inherited inputs instead.
Change-Id: I2b242343bdace17ee3e992ce71f4e49b3c375e15
Signed-off-by: Andreas Enge <andreas@enge.fr>
* gnu/packages/java.scm (java-jctools-core-1)[arguments]: When building
on aarch64-linux skip the tests.
Change-Id: I83a40b5eb352be48b9083aa57dd10e87b525c7be
* gnu/packages/game-development.scm (slade): Update to 3.2.5a.
[arguments]: Add a configure-flag to build slade.pk3.
Change-Id: I739f9d292a685e86acd4d83c1a5de367f884c523
* gnu/packages/java.scm (java-swt)[arguments]: Adjust the custom
'build-native phase to set the C compiler.
Change-Id: Ie961ea91e5cd2ce9fc7b2228e08d082a5a1cfe06
* gnu/packages/arcan.scm (arcan-sdl)[inputs]: Remove sdl, add sdl2.
[arguments]: Adjust configure-flags to remove a flag specifying sdl
version and add a flag to use the package's default sdl.
Change-Id: I691e37e682aee671752fbdcd9f5a233607fd3f29
* gnu/packages/games.scm (the-butterfly-effect)[build-system]: Switch to
the cmake-build-system.
[arguments]: Don't delete the 'configure phase. Remove custom 'install
phase. Add a phase to set some cmake variables and one to disable the
translations.
[native-inputs]: Remove cmake-minimal.
Change-Id: I8f654b1e0c3231dda87ea41c150cc85661541cda