summary refs log tree commit diff
AgeCommit message (Collapse)Author
2020-10-31pack: Relocatable wrapper leaves root available to child processes.Ludovic Courtès
Fixes <https://bugs.gnu.org/44261>. Reported by Jan Nieuwenhuizen <janneke@gnu.org>. * gnu/packages/aux-files/run-in-namespace.c (exec_in_user_namespace): Add call to 'prctl'. Call 'mount' for NEW_ROOT and define 'is_tmpfs'. When IS_TMPFS is true, call 'umount' and 'rmdir' after 'waitpid'; otherwise, call 'rm_rf' only when 'waitpid' returns -1 the second time. (exec_with_loader): Call 'prctl'. Remove NEW_ROOT only when 'waitpid' returns -1 the second time, otherwise leave it behind. * tests/guix-pack-relocatable.sh (wait_for_file): New function. Add test.
2020-10-31doc: Add "Defining Package Variants" section.Ludovic Courtès
* doc/guix.texi (Defining Packages): Move documentation of 'package-input-rewriting' & co. to... (Defining Package Variants): ... here. New node. Also document 'inherit' and 'options->transformation'.
2020-10-31transformations: Raise '&formatted-message' exceptions instead of 'leave'.Ludovic Courtès
* guix/transformations.scm (evaluate-replacement-specs) (package-git-url, evaluate-git-replacement-specs) (transform-package-source-git-url) (transform-package-toolchain): Use 'raise' and 'formatted-message' instead of 'leave'.
2020-10-31guix build: Move transformation options to (guix transformations).Ludovic Courtès
* guix/transformations.scm: New file. * tests/scripts-build.scm: Rename to... * tests/transformations.scm: ... this. * Makefile.am (MODULES): Add 'guix/transformations.scm'. (SCM_TESTS): Adjust to rename. * guix/scripts/build.scm (numeric-extension?) (tarball-base-name, <downloaded-file>, download-to-store*) (compile-downloaded-file, package-with-source) (transform-package-source, evaluate-replacement-specs) (transform-package-inputs, transform-package-inputs/graft) (%not-equal, package-git-url, evaluate-git-replacement-specs) (transform-package-source-branch, transform-package-source-commit) (transform-package-source-git-url, package-dependents/spec) (package-toolchain-rewriting, transform-package-toolchain) (transform-package-with-debug-info, transform-package-tests) (%transformations, transformation-procedure, %transformation-options) (show-transformation-options-help, options->transformation) (package-transformations): Move to (guix transformations). * guix/scripts/environment.scm: Adjust accordingly. * guix/scripts/graph.scm: Likewise. * guix/scripts/install.scm: Likewise. * guix/scripts/pack.scm: Likewise. * guix/scripts/package.scm: Likewise. * guix/scripts/upgrade.scm: Likewise. * po/guix/POTFILES.in: Add 'guix/transformations.scm'.
2020-10-31guix build: 'options->transformation' no longer takes a 'store' parameter.Ludovic Courtès
* guix/scripts/build.scm (transform-package-source) (transform-package-inputs, transform-package-inputs/graft) (transform-package-source-branch, transform-package-source-commit) (transform-package-source-git-url, transform-package-toolchain) (transform-package-with-debug-info, transform-package-tests): Remove 'store' parameter. (options->transformation, options->derivations): Adjust accordingly. * guix/scripts/environment.scm (options/resolve-packages): Likewise. * guix/scripts/graph.scm (guix-graph): Likewise. * guix/scripts/pack.scm (guix-pack): Likewise. * guix/scripts/package.scm (transaction-upgrade-entry): Likewise. (process-actions): Likewise. * tests/scripts-build.scm ("options->transformation, no transformations") ("options->transformation, with-source, replacement"): Adjust tests. ("options->transformation, with-source") ("options->transformation, with-source, with version") ("options->transformation, with-source, PKG=URI"): Use 'lower-object' to compute the store file name of the source. ("options->transformation, with-source, no matches"): Remove 'with-store' and adjust accordingly. ("options->transformation, with-input"): Likewise. ("options->transformation, with-graft"): Likewise. ("options->transformation, with-branch"): Likewise. ("options->transformation, with-commit"): Likewise. ("options->transformation, with-git-url"): Likewise. ("options->transformation, with-git-url + with-branch"): Likewise. ("options->transformation, with-c-toolchain"): Likewise. ("options->transformation, with-c-toolchain twice"): Likewise. ("options->transformation, with-c-toolchain, no effect"): Likewise. ("options->transformation, with-debug-info"): Likewise. ("options->transformation, without-tests"): Likewise.
2020-10-31guix build: Remove unnecessary (replacement #f).Ludovic Courtès
* guix/scripts/build.scm (package-with-source): Remove 'replacement' field, which is innate since d5ec5ed7197d121130af6953378bcfd8929a9754.
2020-10-31guix build: 'package-with-source' no longer takes a 'store' parameter.Ludovic Courtès
* guix/scripts/build.scm (<downloaded-file>): New record type. (download-to-store*): New variable. (compile-downloaded-file): New procedure. (package-with-source): Remove 'store' parameter. Use 'downloaded-file' instead of 'download-to-store'. (transform-package-source): Adjust accordingly.
2020-10-31gnu: Add python-asyncssh.Lars-Dominik Braun
* gnu/packages/ssh.scm (python-asyncssh): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-10-31gnu: Add xstow.Hendur Saga via Guix-patches via
* gnu/packages/package-management.scm (xstow): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-10-31gnu: Add font-openmojinixo
* gnu/packages/fonts.scm (font-openmoji): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-10-31gnu: sbcl-geco: Fix build.Guillaume Le Vaillant
* gnu/packages/patches/sbcl-geco-fix-organism-class.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/lisp-xyz.scm (sbcl-geco)[source]: Use it.
2020-10-31gnu: gnome-builder: Fix the build.Leo Prikler
As reported in #43296, gnome-builder tries to be linked against the static version of libselinux (propagated through glib/gio), failing to do so, as it also wants to be a PIE. To keep the PIE, link it against the dynamic library. Fixes <https://bugs.gnu.org/43296>. * gnu/packages/gnome.scm (gnome-builder)[arguments]: Add 'fix-ninja' phase. Signed-off-by: Leo Famulari <leo@famulari.name>
2020-10-31gnu: r-lme4: Update to 1.1-25.Ricardo Wurmus
* gnu/packages/statistics.scm (r-lme4): Update to 1.1-25.
2020-10-31gnu: r-quantreg: Update to 5.75.Ricardo Wurmus
* gnu/packages/statistics.scm (r-quantreg): Update to 5.75.
2020-10-31gnu: r-vgam: Update to 1.1-4.Ricardo Wurmus
* gnu/packages/statistics.scm (r-vgam): Update to 1.1-4.
2020-10-31gnu: r-flexmix: Update to 2.3-17.Ricardo Wurmus
* gnu/packages/statistics.scm (r-flexmix): Update to 2.3-17.
2020-10-31gnu: r-statmod: Update to 1.4.35.Ricardo Wurmus
* gnu/packages/statistics.scm (r-statmod): Update to 1.4.35.
2020-10-31gnu: r-ztable: Update to 0.2.2.Ricardo Wurmus
* gnu/packages/statistics.scm (r-ztable): Update to 0.2.2. [propagated-inputs]: Remove r-moonbook; add r-rstudioapi. [native-inputs]: Add r-knitr.
2020-10-31gnu: r-e1071: Update to 1.7-4.Ricardo Wurmus
* gnu/packages/statistics.scm (r-e1071): Update to 1.7-4.
2020-10-31gnu: r-pkgmaker: Update to 0.32.2.Ricardo Wurmus
* gnu/packages/statistics.scm (r-pkgmaker): Update to 0.32.2. [propagated-inputs]: Remove r-bibtex, r-magrittr, and r-stringi.
2020-10-31gnu: r-dt: Update to 0.16.Ricardo Wurmus
* gnu/packages/statistics.scm (r-dt): Update to 0.16.
2020-10-31gnu: r-domc: Update to 1.3.7.Ricardo Wurmus
* gnu/packages/statistics.scm (r-domc): Update to 1.3.7.
2020-10-31gnu: r-doparallel: Update to 1.0.16.Ricardo Wurmus
* gnu/packages/statistics.scm (r-doparallel): Update to 1.0.16.
2020-10-31gnu: r-foreach: Update to 1.5.1.Ricardo Wurmus
* gnu/packages/statistics.scm (r-foreach): Update to 1.5.1.
2020-10-31gnu: r-iterators: Update to 1.0.13.Ricardo Wurmus
* gnu/packages/statistics.scm (r-iterators): Update to 1.0.13.
2020-10-31gnu: r-segmented: Update to 1.3-0.Ricardo Wurmus
* gnu/packages/statistics.scm (r-segmented): Update to 1.3-0.
2020-10-31gnu: r-rmarkdown: Update to 2.5.Ricardo Wurmus
* gnu/packages/statistics.scm (r-rmarkdown): Update to 2.5. [propagated-inputs]: Remove r-mime.
2020-10-31gnu: r-rcpparmadillo: Update to 0.10.1.0.0.Ricardo Wurmus
* gnu/packages/statistics.scm (r-rcpparmadillo): Update to 0.10.1.0.0.
2020-10-31gnu: r-ade4: Update to 1.7-16.Ricardo Wurmus
* gnu/packages/statistics.scm (r-ade4): Update to 1.7-16. [propagated-inputs]: Add r-progress.
2020-10-31gnu: r-data-table: Update to 1.13.2.Ricardo Wurmus
* gnu/packages/statistics.scm (r-data-table): Update to 1.13.2.
2020-10-31gnu: r-formula: Update to 1.2-4.Ricardo Wurmus
* gnu/packages/statistics.scm (r-formula): Update to 1.2-4.
2020-10-31gnu: r-tibble: Update to 3.0.4.Ricardo Wurmus
* gnu/packages/statistics.scm (r-tibble): Update to 3.0.4.
2020-10-31gnu: r-rlang: Update to 0.4.8.Ricardo Wurmus
* gnu/packages/statistics.scm (r-rlang): Update to 0.4.8.
2020-10-31gnu: r-r6: Update to 2.5.0.Ricardo Wurmus
* gnu/packages/statistics.scm (r-r6): Update to 2.5.0.
2020-10-31gnu: r-labeling: Update to 0.4.2.Ricardo Wurmus
* gnu/packages/statistics.scm (r-labeling): Update to 0.4.2.
2020-10-31gnu: r-digest: Update to 0.6.27.Ricardo Wurmus
* gnu/packages/statistics.scm (r-digest): Update to 0.6.27.
2020-10-31gnu: r-nlme: Update to 3.1-150.Ricardo Wurmus
* gnu/packages/statistics.scm (r-nlme): Update to 3.1-150.
2020-10-31gnu: r-kernsmooth: Update to 2.23-18.Ricardo Wurmus
* gnu/packages/statistics.scm (r-kernsmooth): Update to 2.23-18.
2020-10-31gnu: r-modeldata: Update to 0.1.0.Ricardo Wurmus
* gnu/packages/cran.scm (r-modeldata): Update to 0.1.0.
2020-10-31gnu: r-parsnip: Update to 0.1.4.Ricardo Wurmus
* gnu/packages/cran.scm (r-parsnip): Update to 0.1.4.
2020-10-31gnu: r-tidypredict: Update to 0.4.8.Ricardo Wurmus
* gnu/packages/cran.scm (r-tidypredict): Update to 0.4.8.
2020-10-31gnu: r-warp: Update to 0.2.0.Ricardo Wurmus
* gnu/packages/cran.scm (r-warp): Update to 0.2.0.
2020-10-31gnu: r-workflows: Update to 0.2.1.Ricardo Wurmus
* gnu/packages/cran.scm (r-workflows): Update to 0.2.1.
2020-10-31gnu: r-igraph: Update to 1.2.6.Ricardo Wurmus
* gnu/packages/cran.scm (r-igraph): Update to 1.2.6.
2020-10-31gnu: r-rcppziggurat: Update to 0.1.6.Ricardo Wurmus
* gnu/packages/cran.scm (r-rcppziggurat): Update to 0.1.6.
2020-10-31gnu: r-cpp11: Update to 0.2.3.Ricardo Wurmus
* gnu/packages/cran.scm (r-cpp11): Update to 0.2.3.
2020-10-31gnu: r-rismed: Update to 2.2.Ricardo Wurmus
* gnu/packages/cran.scm (r-rismed): Update to 2.2.
2020-10-31gnu: r-brms: Update to 2.14.0.Ricardo Wurmus
* gnu/packages/cran.scm (r-brms): Update to 2.14.0.
2020-10-31gnu: r-iheatmapr: Update to 0.5.1.Ricardo Wurmus
* gnu/packages/cran.scm (r-iheatmapr): Update to 0.5.1.
2020-10-31gnu: r-acet: Update to 1.8.1.Ricardo Wurmus
* gnu/packages/cran.scm (r-acet): Update to 1.8.1.