aboutsummaryrefslogtreecommitdiff
path: root/gnu/tests/package-management.scm
AgeCommit message (Expand)Author
2022-02-21tests: nix: Remove tab characters....* gnu/tests/package-management.scm: Remove them. Mathieu Othacehe
2022-02-21tests: nix: Fix it....The <nix/config.nix> support has been removed in Nix 2.4: https://github.com/NixOS/nix/pull/4025. Rely on the store ping command instead to check that we can communicate with the daemon. * gnu/tests/package-management.scm (run-nix-test): Use the store ping command instead of building a dummy derivation. Mathieu Othacehe
2021-09-26tests: Reduce boilerplate for users of 'system-test-runner'....* gnu/tests/audio.scm, gnu/tests/base.scm, gnu/tests/ci.scm, gnu/tests/cups.scm, gnu/tests/databases.scm, gnu/tests/desktop.scm, gnu/tests/dict.scm, gnu/tests/docker.scm, gnu/tests/file-sharing.scm, gnu/tests/ganeti.scm, gnu/tests/guix.scm, gnu/tests/ldap.scm, gnu/tests/linux-modules.scm, gnu/tests/mail.scm, gnu/tests/messaging.scm, gnu/tests/monitoring.scm, gnu/tests/networking.scm, gnu/tests/nfs.scm, gnu/tests/package-management.scm, gnu/tests/reconfigure.scm, gnu/tests/rsync.scm, gnu/tests/security-token.scm, gnu/tests/singularity.scm, gnu/tests/ssh.scm, gnu/tests/telephony.scm, gnu/tests/version-control.scm, gnu/tests/virtualization.scm, gnu/tests/web.scm: Remove (mkdir #$output) (chdir #$output) and pass #$output as argument to 'system-test-runner'. Ludovic Courtès
2021-09-25tests: Adjust to SRFI-64 as found in Guile 3.0.7....In Guile 3.0.7, 'test-runner-current' is set to #f upon 'test-end'. Consequently, the previous strategy, where we'd call 'test-runner-current' after 'test-end', no longer works. Instead, set the test runner in each test right before 'test-begin'. * gnu/build/marionette.scm (system-test-runner): New procedure. * gnu/tests/audio.scm (run-mpd-test): Replace (exit (= ...)) idiom by (test-runner-current (system-test-runner)). * gnu/tests/base.scm (run-basic-test) (run-cleanup-test, run-mcron-test, run-nss-mdns-test): Likewise. * gnu/tests/ci.scm (run-laminar-test): Likewise. * gnu/tests/cups.scm (run-cups-test): Likewise. * gnu/tests/databases.scm (run-memcached-test) (run-postgresql-test, run-mysql-test): Likewise. * gnu/tests/desktop.scm (run-elogind-test): Likewise. * gnu/tests/dict.scm (run-dicod-test): Likewise. * gnu/tests/docker.scm (run-docker-test): Likewise. (run-docker-system-test): Likewise. * gnu/tests/file-sharing.scm (run-transmission-daemon-test): Likewise. * gnu/tests/ganeti.scm (run-ganeti-test): Likewise. * gnu/tests/guix.scm (run-guix-build-coordinator-test): Likewise. (run-guix-data-service-test): Likewise. * gnu/tests/ldap.scm (run-ldap-test): Likewise. * gnu/tests/linux-modules.scm (run-loadable-kernel-modules-test-base): Likewise. * gnu/tests/mail.scm (run-opensmtpd-test) (run-exim-test, run-dovecot-test, run-getmail-test): Likewise. * gnu/tests/messaging.scm (run-xmpp-test) (run-bitlbee-test, run-quassel-test): Likewise. * gnu/tests/monitoring.scm (run-prometheus-node-exporter-server-test) (run-zabbix-server-test): Likewise. * gnu/tests/networking.scm (run-inetd-test, run-openvswitch-test) (run-dhcpd-test, run-tor-test, run-iptables-test, run-ipfs-test): Likewise. * gnu/tests/nfs.scm (run-nfs-test) (run-nfs-server-test, run-nfs-root-fs-test): Likewise. * gnu/tests/package-management.scm (run-nix-test): Likewise. * gnu/tests/reconfigure.scm (run-switch-to-system-test) (run-upgrade-services-test, run-install-bootloader-test): Likewise. * gnu/tests/rsync.scm (run-rsync-test): Likewise. * gnu/tests/security-token.scm (run-pcscd-test): Likewise. * gnu/tests/singularity.scm (run-singularity-test): Likewise. * gnu/tests/ssh.scm (run-ssh-test): Likewise. * gnu/tests/telephony.scm (run-jami-test): Likewise. * gnu/tests/version-control.scm (run-cgit-test): Likewise. (run-git-http-test, run-gitolite-test, run-gitile-test): Likewise. * gnu/tests/virtualization.scm (run-libvirt-test, run-childhurd-test): Likewise. * gnu/tests/web.scm (run-webserver-test, run-php-fpm-test) (run-hpcguix-web-server-test, run-tailon-test, run-patchwork-test): Likewise. Ludovic Courtès
2020-07-22services: nix: Fix sandbox....* gnu/tests/package-management.scm: New file. * gnu/local.mk: Add this. * gnu/services/nix.scm (<nix-configuration>): New record. (nix-activation): Generate Nix config file which fixes sandbox. (nix-service-type): Add default value. (nix-shepherd-service): Allow provide Nix package. * doc/guix.texi (Miscellaneous Services)[Nix service]<nix-configuration>: Document record. Oleg Pykhalov
ting changes downwards). * gnu/packages/emacs.scm (emacs-minimal): Expand package definition. [inputs]: Reorder and add bash-minimal. (emacs-no-x): Inherit from emacs-minimal. (emacs): Inherit from emacs-no-x. (emacs-motif, emacs-no-x-toolkit): Inherit from emacs-no-x. Only inherit inputs from emacs. Liliana Marie Prikler 2023-06-09gnu: Make emacs-next-tree-sitter the new emacs....* gnu/packages/patches/emacs-source-date-epoch.patch: Delete file * gnu/local.mk (dist_patch_DATA): Remove it from here. * gnu/packages/emacs.scm (emacs): Update to 29.0.91. [source]<patches>: Remove “emacs-source-date-epoch.patch”. Add “emacs-pgtk-super-key-fix.patch”. [arguments]: Use “--with-native-compilation=aot” instead of #:make-flags. [inputs]: Add sqlite and tree-sitter. (emacs-next-pgtk): Rename to… (emacs-pgtk): … this. (emacs-next-pgtk-xwidgets): Rename to… (emacs-pgtk-xwidgets): … this. (emacs-minimal)[native-inputs]: Add texinfo. (emacs-xwidgets): Inherit build system, configure-flags and phases normally. (emacs-next, emacs-next-tree-sitter): Remove variables. Liliana Marie Prikler 2023-05-28gnu: emacs-next-tree-sitter: "Downgrade" to 29.0.91....* gnu/packages/emacs.scm (emacs-next-tree-sitter)[version, source]: Inherit fields from emacs-next. Liliana Marie Prikler 2023-05-28gnu: emacs-next: Update to 29.0.91....* gnu/packages/emacs.scm (emacs-next): Update to 29.0.91. Liliana Marie Prikler 2023-05-07gnu: Add emacs-next-pgtk-xwidgets....* gnu/packages/emacs.scm (emacs-next-pgtk-xwidgets): New variable. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Antero Mejr 2023-04-30gnu: emacs: Use librsvg-for-system....* gnu/packages/emacs.scm (emacs)[inputs]: Replace librsvg input logic with librsvg-for-system. Efraim Flashner 2023-04-19gnu: emacs-next: Update to 29.0.90....* gnu/packages/emacs.scm (emacs-next): Update to 29.0.90. Liliana Marie Prikler 2023-03-20Merge remote-tracking branch 'origin/master' into core-updatesAndreas Enge 2023-03-17gnu: m17n-lib: Fix cross-compile....* gnu/packages/emacs.scm (m17n-lib) [source]: Add m17n-lib-1.8.0-use-pkg-config-for-freetype.patch. [native-inputs]: When cross-compile add pkg-config, libtool, gettext-minimal, autoconf, automake. [arguments]: When cross-compile, add phase to fix rpl_malloc undefined references. * gnu/packages/patches/m17n-lib-1.8.0-use-pkg-config-for-freetype.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Z572 2023-03-17gnu: m17n-db: Fix cross-compile....* gnu/packages/emacs.scm (m17n-db) [inputs]: Move gettext-minimal to ... [native-inputs]: ... here. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Z572 2023-03-12gnu: emacs-next-pgtk: Inherit from emacs-next-tree-sitter....Inherit pgtk emacs from tree-sitter to have both features available for wayland users. For more details: https://yhetil.org/guix-devel/87r0txr99u.fsf@inventati.org/T/#u * gnu/packages/emacs.scm (emacs-next-pgtk): Inherit from emacs-next-tree-sitter. Andrew Tropin 2023-03-12gnu: emacs-next-tree-sitter: Inherit from emacs-next....Make tree-sitter emacs available without pgtk. It's part of ongoing iheritance hierarchy update, tree-sitter have less implications than pgtk and thus it should be placed earlier in inheritance chain. For more details: https://yhetil.org/guix-devel/87r0txr99u.fsf@inventati.org/T/#u * gnu/packages/emacs.scm (emacs-next-tree-sitter): Inherit from emacs-next. Andrew Tropin 2023-03-09gnu: emacs-next-tree-sitter: Inherit from emacs-next-pgtk....Make emacs with tree-sitter work on wayland as well. * gnu/packages/emacs.scm (emacs-next-tree-sitter): Inherit from emacs-next-pgtk, remove uneeded native-inputs, add synopsis and description. [source]: Use inherited patches. Andrew Tropin 2023-03-09gnu: emacs-next-pgtk: Remove xwidgets support....xwidgets is beefy and buggy, but emacs-next-pgtk is important for wayland users, so it seems a good idea to remove xwidgets from emacs-next-pgtk. Also, we have a separate emacs-xwidgets package for those who wants to experiment. * gnu/packages/emacs.scm (emacs-next-pgtk)[propagated-inputs]: Remove gsettings-desktop-schemas glib-networking. [arguments]<#:configure-flags>: Remove --with-xwidgets. [inputs]: Remove webkitgtk-with-libsoup2. [home-page]: PGTK is merged to upstream emacs repository now, so inherit home-page from emacs-next. Andrew Tropin 2023-03-02Merge remote-tracking branch 'savannah/master' into core-updates...Conflicts: gnu/local.mk gnu/packages/autotools.scm gnu/packages/cmake.scm gnu/packages/gnuzilla.scm gnu/packages/haskell.scm gnu/packages/pdf.scm gnu/packages/python-xyz.scm gnu/packages/samba.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/wxwidgets.scm Christopher Baines 2023-03-01gnu: Add emacs-motif....* gnu/packages/text-editors.scm (emacs-motif): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net> Andy Tai 2023-02-26gnu: emacs-next: Update to 29.0.60-1.f1f571e....* gnu/packages/emacs.scm (emacs-next): Update to 29.0.60-1.f1f571e. Liliana Marie Prikler 2023-02-26gnu: Add emacs-next-tree-sitter....* gnu/packages/emacs.scm (emacs-next-tree-sitter): New variable. (emacs-next): Remove tree sitter support. Liliana Marie Prikler 2023-02-12gnu: Remove tree-sitter comment from emacs.scm imports....* gnu/packages/emacs.scm: Remove tree-sitter comment. Signed-off-by: Andrew Tropin <andrew@trop.in> Pierre Langlois 2023-02-11gnu: emacs: Add TREE_SITTER_GRAMMAR_PATH support....gnu/packages/emacs.scm (emacs)[native-search-paths]: Add a search-path for tree-sitter grammars. gnu/packages/aux-files/emacs/guix-emacs.el: Add directories from TREE_SITTER_GRAMMAR_PATH to treesit-extra-load-path. Andrew Tropin 2023-02-09gnu: tree-sitter: Move to its own module....* gnu/packages/text-editors.scm (tree-sitter): Move to ... * gnu/packages/tree-sitter.scm: ... here, a new module. * gnu/packages/vim.scm: Use (gnu packages tree-sitter). * gnu/packages/emacs.scm: Use (gnu packages tree-sitter). * gnu/local.mk (GNU_SYSTEM_MODULES): Register tree-sitter.scm new module. Signed-off-by: Andrew Tropin <andrew@trop.in> Pierre Langlois 2023-02-04gnu: emacs-next: Enable tree-sitter support....* gnu/packages/emacs.scm (emacs-next): Update to 29.0.60-0.ac7ec87. * gnu/packages/emacs.scm (emacs-next)[inputs]: Add tree-sitter. Signed-off-by: Andrew Tropin <andrew@trop.in> Declan Tsien 2023-01-30Merge remote-tracking branch 'origin/master' into core-updates... Conflicts: doc/guix.texi gnu/local.mk gnu/packages/admin.scm gnu/packages/base.scm gnu/packages/chromium.scm gnu/packages/compression.scm gnu/packages/databases.scm gnu/packages/diffoscope.scm gnu/packages/freedesktop.scm gnu/packages/gnome.scm gnu/packages/gnupg.scm gnu/packages/guile.scm gnu/packages/inkscape.scm gnu/packages/llvm.scm gnu/packages/openldap.scm gnu/packages/pciutils.scm gnu/packages/ruby.scm gnu/packages/samba.scm gnu/packages/sqlite.scm gnu/packages/statistics.scm gnu/packages/syndication.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/version-control.scm gnu/packages/xml.scm guix/build-system/copy.scm guix/scripts/home.scm Efraim Flashner 2023-01-26gnu: emacs-next: Update to 29.0.50-4.6adc193....* gnu/packages/emacs.scm (emacs-next): Update to 29.0.50-4.6adc193. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Fredrik Salomonsson 2023-01-22gnu: emacs-minimal: Do not patch compilation driver....The ‘patch-compilation-driver’ phase pulls in libgccjit even though it has been deliberately removed from emacs-minimal. * gnu/packages/emacs.scm (emacs)[#:phases]: Delete ‘patch-compilation-driver’. Liliana Marie Prikler 2022-11-03gnu: emacs-next: Update to 29.0.50-3.22e8a77....* gnu/packages/emacs.scm (emacs-next): Update to 29.0.50-3.22e8a77. Signed-off-by: Christopher Baines <mail@cbaines.net> jgart 2022-10-16gnu: emacs: Update to 28.2....* gnu/packages/emacs.scm (emacs): Update to 28.2. Liliana Marie Prikler 2022-10-16Merge branch 'staging'Marius Bakke 2022-10-15gnu: emacs-next: Update to 29.0.50-2.4aeb80c....* gnu/packages/patches/emacs-native-comp-driver-options.patch: New file. * gnu/local.mk: Register it here. * gnu/packages/emacs.scm (emacs-next): Update to 29.0.50-2.4aeb80c. Liliana Marie Prikler 2022-10-02gnu: emacs-minimal: Reduce to minimal inputs....This partly reverts dbcba75c0e96d8eb2b0bf9dbb3a49d15b38f80d2. In that commit, emacs-minimal gained a few inputs that weren't actually used as native compilation is disabled. Discovered by djeis in IRC, see also <http://logs.guix.gnu.org/guix/2022-10-02.log#170047>. * gnu/packages/emacs.scm (emacs-minimal)[inputs]: Remove ld-wrapper, binutils, glibc, libgccjit, and zlib. [arguments]<#:phases>: Delete ‘set-libgccjit-path’. Liliana Marie Prikler 2022-09-27Merge branch 'staging' into core-updates...Conflicts resolved in: gnu/local.mk gnu/packages/cran.scm gnu/packages/gnome.scm gnu/packages/gtk.scm gnu/packages/icu4c.scm gnu/packages/java.scm gnu/packages/machine-learning.scm gnu/packages/tex.scm Maxim Cournoyer 2022-09-19gnu: emacs-next-pgtk: Inherit patches from emacs-next....* gnu/packages/emacs.scm (emacs-next-pgtk)[source]: Inherit patches from emacs-next. Andrew Tropin 2022-09-18Merge branch 'staging' into core-updatesMarius Bakke 2022-09-16gnu: emacs-next-pgtk: Fix super key problem....Recent version of emacs 29 with pgtk flag has a problem with handling super key modifier, due to gtk bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4913 This commit workarounds it. * gnu/packages/patches/emacs-pgtk-super-key-fix.patch: New file. * gnu/packages/emacs.scm (emacs-next-pgtk): Use it here. * gnu/local.mk (dist_patch_DATA): Register it here. Andrew Tropin 2022-09-15Merge branch 'staging' into core-updates...Conflicts resolved in: gnu/local.mk gnu/packages/cmake.scm gnu/packages/glib.scm gnu/packages/gnome.scm gnu/packages/gtk.scm gnu/packages/sdl.scm pango-next, vala-next and librsvg-bootstrap were removed in the process. Maxim Cournoyer 2022-09-11gnu: emacs: Build with native compilation....* gnu/packages/emacs.scm (%emacs-modules): New variable. (emacs)[arguments]<#:modules>: Use it here. <#:configure-flags> Add “--with-native-compilation”. <#:make-flags>: Add “NATIVE_FULL_AOT=1”. <#:phases>: Add ‘set-libgccjit-path’ and ‘patch-compilation-driver’. [inputs]: Add explicit ld-wrapper, binutils, glibc, and libgccjit. [search-paths]: Add EMACSNATIVELOADPATH. (emacs-minimal, emacs-xwidgets, emacs-no-x) (emacs-no-x-toolkit): Adjust accordingly. Liliana Marie Prikler