Age | Commit message (Expand) | Author |
2020-03-22 | build: emacs-utils: Add an option to select scoping for batch eval....In Emacs 27, --eval now evaluates using lexical scoping. This change adds an
option to select dynamic scoping, by using a workaround proposed in
<https://bugs.gnu.org/39823>.
* guix/build/emacs-utils.scm (emacs-batch-eval): Add a DYNAMIC? keyword
argument. Wrap the EXPR with a call to EVAL that makes use of the argument
to select the scoping mode.
(emacs-generate-autoloads): Use it.
| Maxim Cournoyer |
2020-03-22 | build-system: linux-module: Fix cross compilation....* guix/build-system/linux-module.scm (default-kmod, default-gcc): Delete
procedures.
(system->arch): New procedure.
(make-linux-module-builder)[native-inputs]: Move linux...
[inputs]: ...to here.
(linux-module-build-cross): New procedure.
(linux-module-build): Add TARGET. Pass TARGET and ARCH to build side.
(lower): Allow cross-compilation. Move "linux" and "linux-module-builder"
to host-inputs. Add target-inputs. Call linux-module-build-cross if
TARGET is set, linux-module-build otherwise.
* guix/build/linux-module-build-system.scm (configure): Add ARCH argument.
(linux-module-build): Adjust comment.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
| Mathieu Othacehe |
2020-03-22 | syscalls: 'with-file-lock' re-grabs lock when reentering its dynamic extent....* guix/build/syscalls.scm (call-with-file-lock)
(call-with-file-lock/no-wait): Initialize PORT in the 'dynamic-wind'
"in" handler. This allows us to re-enter a captured continuation and
have the lock grabbed anew.
| Ludovic Courtès |
2020-03-22 | download: Delete the output file upon failure....This allows ENOSPC conditions to be properly reported as such rather
than as a hash mismatch due to the availability of a truncated file.
Fixes <https://bugs.gnu.org/39993>.
Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>.
* guix/build/download.scm (url-fetch): In the failure case, delete FILE.
| Ludovic Courtès |
2020-03-14 | Merge branch 'master' into core-updates | Marius Bakke |
2020-03-11 | download: Remove (web http) workarounds no longer relevant....* guix/build/download.scm <top level>: Remove workarounds for
<https://bugs.gnu.org/23421> and for
<https://lists.gnu.org/archive/html/guix-devel/2017-11/msg00070.html>.
| Ludovic Courtès |
2020-03-04 | Merge branch 'master' into core-updates | Marius Bakke |
2020-02-28 | build-system: copy-build-system: Keep symlinks symbolic....guix/build/copy-build-system.scm (install)[install-file]:
Read symlinks as is done in install-simple through copy-recursively.
Signed-off-by: Pierre Neidhardt <mail@ambrevar.xyz>
| Leo Prikler |
2020-02-27 | emacs-build-system: Byte compile the autoload files....* guix/build/emacs-build-system.scm (enable-autoloads-compilation)
(validate-compiled-autoloads): Add procedures.
(%standard-phases): Register the new procedures.
* gnu/packages/aux-files/emacs/guix-emacs.el (guix-emacs-find-autoloads):
Remove duplicates in the list of autoload files found.
* guix/build/emacs-utils.scm (expr->string): Add procedure.
(emacs-batch-eval, emacs-batch-edit-file): Use it.
| Maxim Cournoyer |
2020-02-25 | build-system/linux-module: Disable depmod....* guix/build/linux-module-build-system.scm (install): Disable depmod.
| Danny Milosavljevic |
2020-02-25 | guix: node-build-system: Do not symlink /bin....* guix/build/node-build-system.scm (install): Do not add a symlink for
/bin.
| Julien Lepiller |
2020-02-21 | build-system: Add copy-build-system....* guix/build-system/copy.scm: New file.
* guix/build/copy-build-system.scm: New file.
* Makefile.am (MODULES): Add them.
* doc/guix.texi (Build Systems): Document 'copy-build-system'.
| Pierre Neidhardt |
2020-02-17 | Add (guix build gnu-bootstrap)....* guix/build/gnu-bootstrap.scm: New file.
* Makefile.am (MODULES): Add it.
| Timothy Sample |
2020-02-17 | utils: Change 'patch-shebang' to not try to patch Rust source files....* guix/build/utils.scm (patch-shebang): Match only absolute paths.
| Danny Milosavljevic |
2020-02-16 | build: gnu-build-system: Adjust NOCONFIGURE variable....This ia a follow-up to 481a0f1a7ceac666a011b28324220584ead07698.
* guix/build/gnu-build-system.scm (bootstrap): Set NOCONFIGURE for all
bootstrap scripts. Clean up variable after use.
| Efraim Flashner |
2020-02-16 | build-system/gnu: Don't try executing directories in bootstrap phase....* guix/build/gnu-build-system.scm: (bootstrap): Change the file-exists?
procedure to one that excludes directories, so that we do not mistake it for a
script. For example if the source includes a bootstrap/ directory.
Signed-off-by: Marius Bakke <mbakke@fastmail.com>
| Brendan Tildesley |
2020-02-16 | build: gnu-build-system: Don't run configure during bootstrap....* guix/build/gnu-build-system.scm (bootstrap): Add NOCONFIGURE
environment variable before running bootstrap scripts.
| Efraim Flashner |
2020-02-14 | Merge branch 'master' into core-updates | Marius Bakke |
2020-02-11 | build: go-build-system: Disable Go module support....This allows for upgrading the Go compiler without overhauling
go-build-system first.
* guix/build/go-build-system.scm (setup-go-environment): Set GO111MODULE to
off.
Signed-off-by: Alex Griffin <a@ajgrf.com>
| Jack Hill |
2020-02-03 | Merge branch 'staging' into core-updates | Marius Bakke |
2020-01-30 | guix: Fix missing export for make-desktop-entry-file....* guix/build/utils.scm: Export make-desktop-entry-file.
| Pierre Neidhardt |
2020-01-29 | Merge branch 'master' into staging | Marius Bakke |
2020-01-28 | guix: qt-build-system: Add phase `check-setup`....* guix/build/qt-build-system.scm (check-setup): New function.
(%standard-phases): Add as new phase `check-setup before `check.
* doc/guix.texi (Build System)[qt-build-system]: Describe the new phase.
| Hartmut Goebel |
2020-01-27 | build: cargo-build-system: Add pkg-config environment variables....* guix/build/cargo-build-system.scm (configure): Add environment
variables to use system libgit2 and libssh2.
* gnu/packages/crates-io.scm (rust-libgit2-sys-0.10,
rust-libssh2-sys-0.2)[arguments]: Remove LIBGIT2 and LIBSSH2 environment
variable settings.
* gnu/packages/rust-apps.scm (tokei)[arguments]: Same.
| Efraim Flashner |
2020-01-27 | build: cargo-build-system: Allow patched crates....* guix/build/cargo-build-system.scm (crate-src?): Don't check for a
gzipped tarball, just make sure it's not a directory.
| Efraim Flashner |
2020-01-26 | build-system/cmake: Specify C++ compiler when cross-compiling....* guix/build/cmake-build-system.scm (configure)[args]: Add
"-DCMAKE_CXX_COMPILER" when cross-compiling.
| Marius Bakke |
2020-01-23 | compile: Remove incorrect exports....This is a followup to fed36328129def5f10b1d1f3e4ea8886916fd22a.
* guix/build/compile.scm: Remove exports of '%lightweight-optimizations'
and '%default-optimizations'.
* guix/self.scm: Remove unused (guix build compile) module.
| Ludovic Courtès |
2020-01-21 | Merge branch 'staging' into core-updates | Marius Bakke |
2020-01-19 | syscalls: Pass the right 'throw' arguments in 'call-with-file-lock/no-wait'....Reported by Matt Wette <matt.wette@gmail.com>
in <https://bugs.gnu.org/39194>.
* guix/build/syscalls.scm (call-with-file-lock/no-wait): When
re-throwing, pass KEY in addition to ARGS.
| Ludovic Courtès |
2020-01-15 | clojure-utils: Avoid use of '@@'....* guix/build/clojure-utils.scm (%doc-regex): Avoid @@, which doesn't
work on Guile 3.
(file-sans-extension): Likewise.
| Ludovic Courtès |
2020-01-15 | Merge branch 'master' into core-updates | Marius Bakke |
2020-01-12 | build: asdf-build-system: Improve reproducibility....* guix/build/asdf-build-system.scm (copy-files-to-output): Reset timestamps of
source files before compiling.
| Guillaume Le Vaillant |
2020-01-11 | Merge branch 'master' into core-updates | Marius Bakke |
2020-01-08 | build: asdf-build-system: Make sbcl-* Lisp packages reproducible....The '*.fasl' files produced by SBCL contain the mtime of the source file (see
commit 72843d7ce32bd615f64a0326cf891658b5724ead of SBCL's code repository).
As asdf-build-system makes a copy of the source files before compiling them,
we must set the mtime of these copies to the same date as the originals for
the build to be reproducible.
* guix/build/asdf-build-system.scm (copy-files-to-output): Keep the
modification time of the original source files.
| Guillaume Le Vaillant |
2020-01-07 | download, git: Refer to the right module in 'module-use!' call....This fixes a regression introduced in
6a7c4636d4dec47eefa03c95da5a1315bd0e0413.
* guix/build/download.scm (load-gnutls): Call 'resolve-module' instead
of 'current-module'.
* guix/git.scm (load-git-submodules): Likewise.
| Ludovic Courtès |
2020-01-06 | Adjust module autoloads....In Guile < 2.9.7, autoloading a module would give you access to all its
bindings. In future versions, autoloading a module gives access only to
the listed bindings, as per #:select (see <https://bugs.gnu.org/38895>).
This commit adjusts autoloads to the new semantics, allowing Guix to be
built with Guile 2.9.7/2.9.8.
* guix/build/download.scm <top level>: Remove call to 'module-autoload!'.
(load-gnutls): New procedure.
(tls-wrap): Call it.
* guix/git.scm <top level>: Remove call to 'module-autoload!'.
(load-git-submodules): New procedure.
(update-submodules): Call it instead of 'resolve-interface'.
* gnu/bootloader/grub.scm: Replace #:autoload with #:use-module.
* gnu/packages.scm: Likewise.
* gnu/packages/ssh.scm: Likewise.
* gnu/packages/tex.scm: Likewise.
* gnu/services/cuirass.scm: Likewise.
* gnu/services/mcron.scm: Likewise.
* guix/lint.scm: Augment list of bindings in #:autoload.
* guix/scripts/build.scm: Likewise.
* guix/scripts/gc.scm: Likewise.
* guix/scripts/pack.scm: Likewise.
* guix/scripts/publish.scm: Likewise.
* guix/scripts/pull.scm: Likewise.
* guix/utils.scm: Remove unnecessary #:autoload clauses; replace one
of them with #:use-module.
| Ludovic Courtès |
2020-01-03 | download: Do not leak file descriptors on TLS ports....Fixes <https://bugs.gnu.org/20145>.
* guix/build/download.scm (%tls-ports, register-tls-record-port): Remove.
(tls-wrap): Remove call to 'register-tls-record-port'. Return a custom
binary input/output port instead. This is a backport of what Guile
2.2's (web client) module has been doing.
(close-connection): Define as an alias for 'close-port'.
* guix/http-client.scm (http-fetch): Remove #:keep-alive? parameter,
which was ignored and unused.
Pass #:keep-alive? #f to 'http-get'.
* guix/lint.scm (probe-uri): Use 'close-port' instead of 'close-connection'.
* guix/scripts/substitute.scm (http-multiple-get): Likewise.
| Ludovic Courtès |
2019-12-31 | Merge remote-tracking branch 'master' into core-updates. | Mathieu Othacehe |
2019-12-27 | guix: emacs-utils: Add emacs-batch-disable-compilation....* guix/build/emacs-utils.scm (emacs-batch-disable-compilation):
New procedure.
Signed-off-by: Brett Gilio <brettg@gnu.org>
| Leo Prikler |
2019-12-26 | download: Enable TLS 1.3....This reverts commit e4ee84202633636b4c8cef4a332f0c74912a3b23.
* guix/build/download.scm (tls-wrap): Dot not disable TLS 1.3.
| Marius Bakke |
2019-12-13 | emacs-build-system: Ensure the core libraries appear last in the load path....Fixes bug #38568 (see: https://bugs.gnu.org/38568).
* guix/build/emacs-build-system.scm (add-source-to-load-path): Ensure the core
libraries appear last in the load path.
Reported-by: Jelle Licht <jlicht@fsfe.org>
| Maxim Cournoyer |
2019-12-12 | Merge remote-tracking branch 'origin/master' into core-updates | Efraim Flashner |
2019-12-08 | emacs-build-system: Move the source directory to the start of EMACSLOADPATH....Fixes issue #38479 (see: https://bugs.gnu.org/38479).
* guix/build/emacs-build-system.scm (add-source-to-load-path): Move the source
directory to the start of the EMACSLOADPATH environment variable.
Reported-by: Diego Nicola Barbato <dnbarbato@posteo.de>
| Maxim Cournoyer |
2019-12-08 | emacs-build-system: Make the order of the phases more clear....* guix/build/emacs-build-system.scm (%standard-phases): Re-arrange to explicit
the ordering of phases.
| Maxim Cournoyer |
2019-12-07 | build-system: qt: Fix output missing in wrapped variables....* guix/build/qt-build-system .scm (handle-output): Use directory of
output, not its name.
| Hartmut Goebel |
2019-12-07 | file-systems: Add support for 'strict-atime' and 'lazy-time' flags....* guix/build/syscalls.scm (MS_LAZYTIME): New variable.
* gnu/build/file-systems.scm (mount-flags->bit-mask): Add match rules for
'strict-atime' and 'lazy-time'.
* doc/guix.texi (File Systems): Add 'strict-atime' and 'lazy-time' to the list
of supported flags.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| Guillaume Le Vaillant |
2019-12-05 | Merge branch 'master' into core-updates | Marius Bakke |
2019-12-04 | Merge branch 'staging' | Marius Bakke |
2019-12-04 | build: emacs-build-system: Unify the installation directory....This change aims to reduce the length of the EMACSLOADPATH environment
variable, which was found to cause issues such as
<https://bugs.gnu.org/38309>.
It should also enable discovery of newly installed packages without refreshing
the session's EMACSLOADPATH of the user profile (e.g., when launching Emacs
from the desktop manager application launcher), as discussed in
<https://bugs.gnu.org/38309>.
* guix/build/emacs-build-system.scm (%legacy-install-suffix): Rename to...
(%install-dir): ...this.
(%install-suffix): Remove variable.
(build): Adjust installation target directory.
(patch-el-files): Likewise.
(install): Likewise.
(move-doc): Likewise.
(make-autoloads): Likewise.
Signed-off-by: Clément Lassieur <clement@lassieur.org>
| Maxim Cournoyer |
2019-12-01 | guix: Add the 'qt' build system....* guix/build-system/qt.scm, guix/build/qt-build-system.scm: New files.
* Makefile.am (MODULES): Add them.
* doc/guix.texi (Buiild systems): Add the new build system.
| Hartmut Goebel |