Fixes <https://bugs.gnu.org/31216>.
This is a followup to commits 217b8c2e06,
44b98b0002, and
35fbe194c3da264859a5addc661b9fbc2dc8ecc7.
Complications arise when grafting perl unless the version of the replacement
perl matches that of the original. So, here we add 'perl/fixed', which is
built from the perl-5.26.2 source but hacked to believe it is version 5.26.1.
* gnu/packages/perl.scm (perl)[replacement]: Use perl/fixed, not perl-5.26.2.
(perl-5.26.2): Remove compatibility symlinks.
(perl/fixed): New variable.
Fixes <https://bugs.gnu.org/31216>.
Reported by Julien Lepiller <julien@lepiller.eu>.
* gnu/packages/perl.scm (perl-5.26.2)[arguments]: Rename the
'workaround-grafting-version-bug' phase to 'install-compatibility-symlinks'.
Install symlinks in $out/lib/perl5/site_perl/5.26.1 and $out/bin/perl5.26.1,
in addition to $out/lib/perl5/5.26.1. Simplify the code a bit.
The package would fail building when attempting to create a cache
directory. This has been fixed upstream but not in a tagged release.
* gnu/packages/emacs.scm (emacs-sx): Update to latest git version.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
* gnu/packages/emacs.scm (emacs-realgud)[arguments]: Move the
fix-autogen-script phase to after the set-emacs-load-path phase.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
* po/doc/contributing.pot: New file.
* po/doc/guix.pot: New file.
* po/doc/local.mk: New file.
* Makefile.am: Include it. Add gettext command. Add silent rules for po4a.
* configure.ac: Look for po4a-translate and po4a-updatepo.
* doc/local.mk: Add rules to generate translated texi files.
(TRANSLATED_INFO): New variable.
(BUILT_SOURCES, EXTRA_DIST, MAINTAINERCLEANFILES): Add it.
* .gitignore: Add generated files.
* gnu/packages/emacs.scm (ert-runner): Use 'prefix instead of '= for setting
the EMACSLOADPATH environment variable. Reuse the already computed
EMACSLOADPATH for wrap-program. Specify the dependencies directly in the
inputs field.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
* guix/build/emacs-utils.scm: Use (guix build utils) for invoke.
(emacs-batch-eval, emacs-batch-edit-file): Replace system* with invoke.
* guix/build/emacs-build-system.scm (make-autoloads): No need to return #t
explicitly since emacs-generate-autoloads now uses invoke.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
* guix/build/emacs-build-system.scm (set-emacs-load-path): Include Emacs Lisp
directories from all inputs. Also, add the unpacked source directory to
EMACSLOADPATH.
(emacs-inputs, emacs-inputs-directories, emacs-input->el-directory,
emacs-inputs-el-directories): Remove.
(%standard-phases): Move set-emacs-load-path phase to after unpack phase.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
* nix/nix-daemon/nix-daemon.cc (isRemoteConnection): New variable.
(performOp): For wopCollectGarbage, throw an error when isRemoteConnection
is set.
(acceptConnection): Set isRemoteConnection when connection is not AF_UNIX.
* tests/guix-daemon.sh: Add a test for the new behavior.
Fixes <https://bugs.gnu.org/31113>.
Reported by George myglc2 Clemmer <myglc2@gmail.com>.
* gnu/packages/guile.scm (mcron): Update to 1.1.1.
[arguments]: Change timezone in 'set-timezone' phase. Remove
'disable-schedule-test' and 'wrap-programs' phases. Add 'adjust-tests'
phase.
* gnu/tests/base.scm (%mcron-os): Change JOB1 to use the 'next-seconds'
form.