Until now users would have to cargo cult or inspect the private
%default-modules variable of (guix build-systems gnu) to discover which
modules to include when extending the used modules via the #:modules argument.
The renaming was automated via the command:
$ git grep -l %gnu-build-system-modules
| xargs sed 's/%gnu-build-system-modules/%default-gnu-imported-modules/' -i
* guix/build-system/gnu.scm (%gnu-build-system-modules): Rename to...
(%default-gnu-imported-modules): ... this.
(%default-modules): Rename to...
(%default-gnu-modules): ... this. Export.
(dist-package, gnu-build, gnu-cross-build): Adjust accordingly.
Change-Id: Idef307fff13cb76f3182d782b26e1cd3a5c757ee
* gnu/packages/docker.scm (docker-libnetwork-cmd-proxy): Improve package
style. Fix indentation.
[arguments]: Apply list style, adjust order of the keys.
[native-inputs]: Remove labels.
[description]: Adjust it, place on a new line.
Change-Id: I0cb59a3d9306291e4101f6c6d2e681ffd319ba9f
This reverts commit d084fb4b04.
This breaks docker-compose. Until we can update to docker-compose 2.x, we
continue with an older python-docker.
Change-Id: I4954d1f072735b1e99de192b7df31b1be8179243
* gnu/packages/golang.scm (go-golang-org-x-sys): Move
from here ...
* gnu/packages/golang-build.scm: ... to here.
* gnu/packages/curl.scm: Add (gnu packages golang-build) module.
* gnu/packages/databases.scm: As above.
* gnu/packages/docker.scm: As above.
* gnu/packages/golang-build.scm: As above.
* gnu/packages/golang.scm: As above.
* gnu/packages/irc.scm: As above.
* gnu/packages/linux.scm: As above.
* gnu/packages/password-utils.scm: As above.
* gnu/packages/syncthing.scm: As above.
* gnu/packages/textutils.scm: As above.
* gnu/packages/vpn.scm: As above.
* gnu/packages/weather.scm: As above.
* gnu/packages/web.scm: As above.
Change-Id: I161e89cacb9aa87b4fbb643ecd9ad32cfe49c9d7
* gnu/packages/docker.scm (docker-libnetwork-cmd-proxy)[arguments]: Skip
the tests unless building on x86_64-linux and not cross-building.
Change-Id: I35028bd728920840370fe641240053baa3a4585f
* gnu/packages/docker.scm (%docker-version): Update to 20.10.25.
(docker-libnetwork): Update to 20.10-2.3f00484.
(docker)[native-inputs]: Replace go with go-1.19.
* gnu/packages/docker.scm (docker)[arguments]: Rewrite as gexps. Switch
to using search-input-file.
[inputs]: Use new style inputs.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu/packages/docker.scm (containerd)[arguments]: Rewrite as gexps.
Pass all flags via make-flags variable. Switch to using
search-input-file.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu/packages/docker.scm (containerd): Update to 1.6.6.
[arguments]: Substitute runc binary for "pkg/cri/config/config_unix.go". Set
PREFIX to empty string, as the install directory is $DESTDIR/$PREFIX.
Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Build all Go packages with go-1.17 by default. Explicitly specify an
older Go version in packages which cannot build with go-1.17.
* gnu/packages/golang.scm (go): Update from 'go-1.14' to 'go-1.17'.
* gnu/packages/docker.scm (docker)[native-inputs]: Explicitly use 'go-1.14'.
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-ipfs-cmdkit-files)[arguments]:
Explicitly use Go 1.16.
(go-ipfs)[arguments]: Use the default version of Go.
* gnu/packages/syncthing.scm (syncthing)[arguments]: Likewise.
* gnu/packages/admin.scm (runitor)[arguments]: Likewise.
Signed-off-by: Leo Famulari <leo@famulari.name>
The dynamically linked tini could fail in some environments, causing 'docker
run' to exit with the following unhelpful error message:
standard_init_linux.go:219: exec user process caused: no such file or
directory
Use the statically linked tini binary instead, which should work everywhere.
* gnu/packages/docker.scm (docker)[phases]{patch-paths}: Replace 'tini' by
'tini-static'.
* gnu/packages/docker.scm (tini): Update to 0.19.0. Remove trailing #t.
[phases]: Remove argument.
[configure-flags]: New argument, to clear the CMAKE_INSTALL_RPATH option.
* gnu/packages/docker.scm (containerd): Update to 1.4.4. Delete
trailing #t.
[arguments]: Set a MAKE-FLAGS binding.
[phases]{patch-paths}: Patch the reference to 'unpigz'.
{build, install}: Use the MAKE-FLAGS variable.
[inputs]: Add pigz.
* gnu/packages/patches/containerd-test-with-go1.13.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Un-register it.
This is a follow-up to commit 83cda00bc6.
* gnu/packages/docker.scm (docker-cli): Fix source hash caused by cascading
%docker-version variable changes.
* gnu/packages/docker.scm (%docker-version): Bump to 19.03.15.
(docker-libnetwork): Bump to 19.03-1.55e924b.
(docker):
[source]: Set git-reference url to 'https://github.com/moby/moby'.
[arguments]<#:phases>: Modify 'delete-failing-tests phase to delete
'signal_linux_test.go'.
This fixes breaks the 'install-license-files' phase added in
6b793fa662 and is generally not good
practice.
* gnu/packages/docker.scm (containerd): [arguments]: Use
'with-directory-excursion' instead of 'chdir' in build phases.
This is a follow-up to 6b793fa662.
* gnu/packages/docker.scm (docker-cli)[arguments]: In custom 'install
phase don't change directory to install 'docker' binary.