#!/bin/sh # GNU Guix --- Functional package management for GNU # Copyright © 2012, 2013, 2014, 2015, 2017 Ludovic Courtès # Copyright © 2017 Eric Bavier # # This file is part of GNU Guix. # # GNU Guix is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or (at # your option) any later version. # # GNU Guix is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with GNU Guix. If not, see . # Usage: ./pre-inst-env COMMAND ARG... # # Run COMMAND in a pre-installation environment. Typical use is # "./pre-inst-env guix build hello". # By default we may end up with absolute directory names that contain '..', # which get into $GUILE_LOAD_PATH, leading to '..' in the module file names # recorded by Guile. To avoid that, make sure we get a real absolute # directory name. Additionally, use '-P' to get the canonical directory name # so that Guile's 'relative' %file-port-name-canonicalization can actually # work (see .) abs_top_srcdir="`cd "@abs_top_srcdir@" > /dev/null; pwd -P`" abs_top_builddir="`cd "@abs_top_builddir@" > /dev/null; pwd -P`" GUILE_LOAD_COMPILED_PATH="$abs_top_builddir${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH" GUILE_LOAD_PATH="$abs_top_builddir:$abs_top_srcdir${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH" export GUILE_LOAD_COMPILED_PATH GUILE_LOAD_PATH # Define $PATH so that `guix' and friends are easily found. PATH="$abs_top_builddir/scripts:$abs_top_builddir:$PATH" export PATH # Daemon helpers. NIX_ROOT_FINDER="$abs_top_builddir/nix/scripts/list-runtime-roots" NIX_SUBSTITUTERS="$abs_top_builddir/nix/scripts/substitute" NIX_LIBEXEC_DIR="@abs_top_builddir@/nix/scripts" # for 'guix-authenticate' export NIX_ROOT_FINDER NIX_SUBSTITUTERS NIX_LIBEXEC_DIR NIX_BUILD_HOOK="$abs_top_builddir/nix/scripts/offload" @BUILD_DAEMON_OFFLOAD_TRUE@export NIX_BUILD_HOOK @BUILD_DAEMON_OFFLOAD_FALSE@# No offloading support. @BUILD_DAEMON_OFFLOAD_FALSE@unset NIX_BUILD_HOOK # The 'guix-register' program. GUIX_REGISTER="$abs_top_builddir/guix-register" export GUIX_REGISTER # The following variables need only be defined when compiling Guix # modules, but we define them to be on the safe side in case of # auto-compilation. NIX_HASH="@NIX_HASH@" export NIX_HASH # Define $GUIX_UNINSTALLED to prevent `guix' from # prepending @guilemoduledir@ to the Guile load paths. GUIX_UNINSTALLED=1 export GUIX_UNINSTALLED exec "$@" 01f4b355d8df4ac341216b3'>gnu: docker: Replace tini by tini-static....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'. Maxim Cournoyer 2021-06-10gnu: tini: Update to 0.19.0 and provide 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. Maxim Cournoyer 2021-04-02gnu: containerd: Update to 1.4.4....* 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. Maxim Cournoyer 2021-03-11gnu: docker-cli: Fix source hash....This is a follow-up to commit 83cda00bc62d665f05d37d07c78a1c4eab5297f0. * gnu/packages/docker.scm (docker-cli): Fix source hash caused by cascading %docker-version variable changes. Léo Le Bouter 2021-03-10gnu: containerd: Update to 1.3.10 [security fixes]....* gnu/packages/docker.scm (containerd): Update to 1.3.10. Léo Le Bouter 2021-03-10gnu: docker: Update to 19.03.15 [security fixes]....* 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'. Léo Le Bouter 2021-02-08gnu: docker: Update to 19.03.13....* gnu/packages/docker.scm (docker, docker-cli): Update to 19.03.13. Oleg Pykhalov 2020-11-21gnu: python-docker: Propagate runtime dependency....* gnu/packages/docker.scm (python-docker)[inputs]: Move PYTHON-WEBSOCKET-CLIENT from here ... [propagated-inputs]: ... to here. Marius Bakke 2020-11-14gnu: cqfd: Update to 5.2.1....* gnu/packages/docker.scm (cqfd): Update to 5.2.1. Maxim Cournoyer