aboutsummaryrefslogtreecommitdiff
path: root/build-aux/pre-inst-env.in
blob: cd90a06cbc70af4aacf4bfc363fd3e342a1a9c3b (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/bin/sh

# GNU Guix --- Functional package management for GNU
# Copyright © 2012, 2013, 2014, 2015, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
# Copyright © 2017 Eric Bavier <bavier@cray.com>
#
# 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 <http://www.gnu.org/licenses/>.

# 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 <http://bugs.gnu.org/17935>.)
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

# The daemon invokes 'guix'; tell it which one to use.
GUIX="$abs_top_builddir/scripts/guix"
export GUIX

# Define $GUIX_UNINSTALLED to prevent `guix' from
# prepending @guilemoduledir@ to the Guile load paths.

GUIX_UNINSTALLED=1
export GUIX_UNINSTALLED

exec "$@"
ass='msg-tooltip'>* gnu/packages/java.scm (java-fasterxml-jackson-core): Add synopsis and description. Julien Lepiller 2020-10-28gnu: icedtea-8: Fix build on aarch64-linux....* gnu/packages/java.scm (icedtea-8)[native-inputs]: Remove obsolete, architecture-dependent patch to "hotspot-drop". * gnu/packages/patches/icedtea-7-hotspot-gcc-segfault-workaround.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Simon South 2020-10-28gnu: icedtea-8: Build in parallel using correct number of jobs....* gnu/packages/java.scm (icedtea-8)[arguments]<#:configure-flags>: Add "--with-parallel-jobs". Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Simon South 2020-10-28gnu: icedtea-7: Fix build on aarch64-linux....* gnu/packages/java.scm (icedtea-7)[native-inputs]: Remove obsolete, architecture-dependent patch to "hotspot-drop"; replace with patch to fix build on aarch64-linux. * gnu/packages/patches/icedtea-7-hotspot-aarch64-use-c++98.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Simon South 2020-10-28gnu: icedtea-7: Build in parallel using correct number of jobs....* gnu/packages/java.scm (icedtea-7)[arguments]<#:configure-flags>: Add "--with-parallel-jobs". Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Simon South 2020-10-28gnu: icedtea-6: Fix build on aarch64-linux....* gnu/packages/java.scm (icedtea-6)[source]: Add patch. * gnu/packages/patches/icedtea-6-extend-hotspot-aarch64-support.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Simon South 2020-10-28gnu: icedtea-6: Remove obsolete, architecture-dependent patch....* gnu/packages/java.scm (icedtea-6)[arguments]<#:phases>: Remove special handling of "hotspot-src" input during "unpack" phase. [native-inputs]: Remove patch to "hotspot-src". * gnu/packages/patches/icedtea-6-hotspot-gcc-segfault-workaround.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Simon South 2020-10-28gnu: icedtea-6: Build in parallel using correct number of jobs....* gnu/packages/java.scm (icedtea-6)[arguments]<#:configure-flags>: Supply parameter to "--with-parallel-jobs". Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Simon South 2020-10-23gnu: hdf5: Default to 1.10....This is a followup to 593096355501dfd76c2e92b1fbd87f940ab1d1f2. * gnu/packages/maths.scm (hdf5): Change to HDF5-1.10. (hdf-java, hdf-eos5, h5check, netcdf, matio)[inputs]: Use HDF5-1.8. * gnu/packages/java.scm (java-cisd-jhdf5)[inputs]: Likewise. Ludovic Courtès 2020-10-14gnu: Add java-javaparser....* gnu/packages/java.scm (java-javaparser): New variable. Julien Lepiller 2020-10-14gnu: Add java-tunnelvisionlabs-antlr4....* gnu/packages/java.scm (java-tunnelvisionlabs-antlr4): New variable. Julien Lepiller 2020-10-14gnu: Add java-tunnelvisionlabs-antlr4-runtime....* gnu/packages/java.scm (java-tunnelvisionlabs-antlr4-runtime): New variable. Julien Lepiller 2020-10-14gnu: Add java-tunnelvisionlabs-antlr4-runtime-annotations....* gnu/packages/java.scm (java-tunnelvisionlabs-antlr4-runtime-annotations): New variable. * gnu/packages/patches/java-tunnelvisionlabs-antlr-code-too-large.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Julien Lepiller 2020-10-14gnu: Add antlr4-4.1....* gnu/packages/java.scm (antlr4-4.1): New variable. Julien Lepiller 2020-10-14gnu: Add java-antlr4-runtime-4.1....* gnu/packages/java.scm (java-antlr4-runtime-4.1): New variable. Julien Lepiller 2020-10-14gnu: Add java-asm-util-8....* gnu/packages/java.scm (java-asm-util-8): New variable. Julien Lepiller 2020-10-14gnu: Add java-asm-analysis-8....* gnu/packages/java.scm (java-asm-analysis-8): New variable. Julien Lepiller 2020-10-14gnu: Add java-asm-tree-8....* gnu/packages/java.scm (java-asm-tree-8): New variable. Julien Lepiller 2020-10-14gnu: Add java-asm-8....* gnu/packages/java.scm (java-asm-8): New variable. Julien Lepiller 2020-10-14gnu: ant: Update to 1.9.15....* gnu/packages/java.scm (ant): Update to 1.9.15. Julien Lepiller 2020-10-14gnu: ant/java8: Update to 1.10.8....* gnu/packages/java.scm (ant/java8): Update to 1.10.8. Julien Lepiller 2020-10-05Merge branch 'master' into stagingGuillaume Le Vaillant 2020-09-23gnu: Fix typoes in package descriptions....* gnu/packages/audio.scm (caps-plugins-lv2)[synopsis]: Fix typo. * gnu/packages/bioconductor.scm (r-karyoploter, r-anota, r-gcrma) (r-bigmemoryextras)[description]: Likewise. * gnu/packages/cran.scm (r-geometry)[synopsis]: Likewise. (r-stringdist, r-patchwork, r-depth, r-tea)[description]: Likewise. * gnu/packages/crates-io.scm (rust-assert-fs-0.11, rust-notify-4) (rust-tokio-fs-0.1)[synopsis, description]: Likewise. (rust-blas-sys-0.7)[description]: Likewise. (rust-fs-extra-1.1, rust-xattr-0.2)[synopsis]: Likewise. * gnu/packages/databases.scm (perl-mysql-config)[description]: Likewise. * gnu/packages/disk.scm (hddtemp)[description]: Likewise. * gnu/packages/django.scm (python-djangorestframework)[description]: Likewise. * gnu/packages/documentation.scm (doc++)[description]: Likewise. * gnu/packages/emacs-xyz.scm (emacs-kakoune, emacs-pyim-basedict, eless) (emacs-scpaste)[description]: Likewise. * gnu/packages/file-systems.scm (dbxfs)[description]: Likewise. * gnu/packages/finance.scm (python-stdnum)[description]: Likewise. * gnu/packages/fontutils.scm (woff2)[description]: Likewise. * gnu/packages/games.scm (openttd-opengfx)[description]: Likewise. * gnu/packages/gnome-xyz.scm (gnome-shell-extension-topicons-redux) [description]: Likewise. * gnu/packages/gnome.scm (libgrss)[description]: Likewise. * gnu/packages/golang.scm (go-github-com-mitchellh-reflectwalk) [description]: Likewise. (go-github-com-go-git-go-billy)[synopsis, description]: Likewise. * gnu/packages/haskell-check.scm (ghc-inspection-testing)[description]: Likewise. * gnu/packages/haskell-web.scm (ghc-yesod-form)[description]: Likewise. * gnu/packages/haskell-xyz.scm (ghc-hex)[description]: Likewise. * gnu/packages/hyperledger.scm (hyperledger-iroha-ed25519)[description]: Likewise. * gnu/packages/java.scm (java-mail)[synopsis]: Likewise. (java-native-access-platform)[description]: Likewise. * gnu/packages/kde-frameworks.scm (kactivities-stats)[description]: Likewise. * gnu/packages/kde-utils.scm (krusader)[description]: Likewise. * gnu/packages/language.scm (praat)[description]: Likewise. * gnu/packages/linux.scm (light)[description]: Likewise. * gnu/packages/lisp-xyz.scm (sbcl-hu.dwim.defclass-star)[description]: Likewise. * gnu/packages/mail.scm (dovecot-trees, sieve-connect)[description]: Likewise. * gnu/packages/ocaml.scm (ocaml-opam-file-format, ocaml-cppo) (ocaml4.07-ppx-variants-conv)[description]: Likewise. * gnu/packages/perl.scm (perl-convert-binhex)[description]: Likewise. * gnu/packages/python-crypto.scm (python-ecdsa)[description]: Likewise. * gnu/packages/python-web.scm (python-html5lib)[synopsis, description]: Likewise. (python-venusian)[synopsis]: Likewise. * gnu/packages/python-xyz.scm (python-readlike, python-gssapi) (python-flufl-i18n)[description]: Likewise. (python-pox, python-watchdog, python-xattr)[synopsis, description]: Likewise. * gnu/packages/ruby.scm (ruby-sorcerer)[description]: Likewise. * gnu/packages/rust-apps.scm (watchexec)[description]: Likewise. * gnu/packages/rust.scm (mrustc)[synopsis]: Likewise. * gnu/packages/shells.scm (s-shell)[description]: Likewise. * gnu/packages/ssh.scm (sshpass)[description]: Likewise. * gnu/packages/terminals.scm (beep)[description]: Likewise. * gnu/packages/web.scm (perl-lwp-useragent-cached)[description]: Likewise. * gnu/packages/wv.scm (wv)[description]: Likewise. Tobias Geerinckx-Rice 2020-09-20gnu: Add antlr4....* gnu/packages/java.scm (antlr4): New variable. Julien Lepiller 2020-09-20gnu: Add java-antlr4-runtime....* gnu/packages/java.scm (java-antlr4-runtime): New variable. * gnu/packages/patches/java-antlr4-Add-standalone-generator.patch: New file. * gnu/packages/patches/java-antlr4-fix-code-too-large.java: New file. * gnu/local.mk (dist_patch_DATA): Add them. Julien Lepiller 2020-09-20gnu: Add java-treelayout....* gnu/packages/java.scm (java-treelayout): New variable. Julien Lepiller 2020-09-14gnu: java-hdrhistogram: Don't use unstable tarball....* gnu/packages/java.scm (java-hdrhistogram)[source]: Download using git-fetch. [arguments]: Add phase to make source writable. Efraim Flashner 2020-09-05Merge remote-tracking branch 'origin/master' into stagingEfraim Flashner