summaryrefslogtreecommitdiff
path: root/guix/build
AgeCommit message (Collapse)Author
2019-12-13emacs-build-system: Ensure the core libraries appear last in the load path.Maxim Cournoyer
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>
2019-12-08emacs-build-system: Move the source directory to the start of EMACSLOADPATH.Maxim Cournoyer
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>
2019-12-08emacs-build-system: Make the order of the phases more clear.Maxim Cournoyer
* guix/build/emacs-build-system.scm (%standard-phases): Re-arrange to explicit the ordering of phases.
2019-12-07build-system: qt: Fix output missing in wrapped variables.Hartmut Goebel
* guix/build/qt-build-system .scm (handle-output): Use directory of output, not its name.
2019-12-07file-systems: Add support for 'strict-atime' and 'lazy-time' flags.Guillaume Le Vaillant
* 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>
2019-12-04Merge branch 'staging'Marius Bakke
2019-12-04build: emacs-build-system: Unify the installation directory.Maxim Cournoyer
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>
2019-12-01guix: Add the 'qt' build system.Hartmut Goebel
* 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.
2019-11-29ui: 'with-profile-lock' keeps going upon ENOLCK.Ludovic Courtès
* guix/build/syscalls.scm (call-with-file-lock/no-wait): Really pass ARGS to HANDLER. Return #f when HANDLER is called. * guix/ui.scm (profile-lock-handler): Emit a mere warning upon ENOLCK.
2019-11-28Merge branch 'master' into stagingMarius Bakke
2019-11-26guix: Fix wrap-qt-program.Hartmut Goebel
Directory names added here need to match qtbase's native-search-path specifications. * guix/build/qt-utils.scm (wrap-qt-program): Change paths used for QML2_IMPORT_PATH and QT_PLUGIN_PATH.
2019-11-23compile: Adjust for Guile 2.9.5.Ludovic Courtès
* guix/build/compile.scm (optimizations-for-level): New procedure. Include '%lightweight-optimizations' and '%default-optimizations'. (optimization-options): Use 'optimizations-for-level'.
2019-11-21Merge branch 'master' into stagingMarius Bakke
2019-11-18download: Load *.crt certificate bundles when *.pem files are missing.Ludovic Courtès
Fixes <https://bugs.gnu.org/38254>. * guix/build/download.scm (make-credendials-with-ca-trust-files): Look for *.crt files under DIRECTORY when *.pem files cannot be found.
2019-11-18build-system: emacs: Simplify the SET-EMACS-LOAD-PATH phase.Maxim Cournoyer
It is no longer necessary to search for the Elisp libraries manually, as Emacs now include a search path specification serving that purpose. * guix/build/emacs-build-system.scm (set-emacs-load-path): Replace by... (add-source-to-load-path): ...this. (%standard-phases): Adjust accordingly.
2019-11-15Merge branch 'master' into stagingMarius Bakke
2019-11-15make-bootstrap: Adjust copied linux headers.Efraim Flashner
* guix/build/make-bootstrap.scm (copy-linux-headers): Remove header file 'a.out.h' is no longer part of the linux kernel headers.
2019-11-13guix: svn: Allow dropping externals.Julien Lepiller
* guix/build/svn.scm (svn-fetch): Allow to ignore externals. * guix/svn-download.scm (svn-reference, svn-multi-reference): Add recursive? field.
2019-11-08guix: Add file-locking with no wait.Julien Lepiller
* guix/build/syscalls.scm (with-file-lock/no-wait): New procedure. (lock-file): Take a #:wait? key.
2019-10-24Revert "guix: svn: Allow dropping externals."Tobias Geerinckx-Rice
This reverts commit 51395c84fdbf8daed6392951a973ad750cf3eefa, fixing <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37896>. Reported by <o.rojon@posteo.net>.
2019-10-23guix: svn: Allow dropping externals.Julien Lepiller
* guix/build/svn.scm (svn-fetch): Allow to ignore externals. * guix/svn-download.scm (svn-reference, svn-multi-reference): Add recursive? field.
2019-10-23Merge branch 'master' into stagingMarius Bakke
2019-10-21download: Honor /etc/ssl/certs when 'SSL_CERT_DIR' is not set.Ludovic Courtès
* guix/build/download.scm (%x509-certificate-directory): Use "/etc/ssl/certs" as a last resort. This ensures, for instance, that 'guix download' honors system-wide certificates when SSL_CERT_DIR is unset.
2019-10-13Merge branch 'master' into stagingMarius Bakke
2019-10-13gnu: ant-build-system: Don't override symlinks.Björn Höfling
When repacking jar-files, don't work on symlinks: Otherwise, they would be overridden with the repacked jar-file. * guix/build/ant-build-system.scm (regular-jar-file-predicate): New procedure. (generate-jar-indices, strip-jar-timestamps): Use it.
2019-10-11gnu: Add nsis-x86_64 and nsis-i686.Carl Dong
* guix/build-system/scons.scm (scons-build): Add build-targets and install-targets parameters. * guix/build/scons-build-system.scm (build, install): Adjust accordingly. * doc/guix.texi (Build Systems): Document it. * gnu/packages/installers.scm: New file, (make-nsis): New procedure, (nsis-x86_64, nsis-i686): New variables. * gnu/packages/patches/nsis-env-passthru.patch: New file. * gnu/local.mk (dist_patch_DATA, GNU_SYSTEM_MODULES): Adjust accordingly.
2019-10-08Merge branch 'master' into stagingMarius Bakke
2019-10-05syscalls: Add 'add-to-entropy-count'.Ludovic Courtès
* guix/build/syscalls.scm (RNDADDTOENTCNT): New variable. (add-to-entropy-count): New procedure. * tests/syscalls.scm ("add-to-entropy-count"): New test.
2019-10-01Merge branch 'master' into core-updatesLudovic Courtès
2019-09-29syscalls: 'define-as-needed' does not re-export local variables.Ludovic Courtès
Fixes <https://bugs.gnu.org/36723>. Reported by Timothy Sample <samplet@ngyro.com>. * guix/build/syscalls.scm (define-as-needed): Rewrite to use lower-level module primitives; define VARIABLE only if it's not already defined to avoid "re-exporting local variable" error.
2019-09-27compile: Fix race condition on completion progress.Eric Bavier
This prevent a race condition where multiple compilation threads could report the same progress. * guix/build/compile.scm (compile-files)<completed>: Rename to... <progress>: ...this. Increment in same mutex region as the compilation is reported.
2019-09-24Merge branch 'master' into core-updatesLudovic Courtès
2019-09-23build: ruby-build-system: Fix typo.Vagrant Cascadian
* guix/build/ruby-build-system: Fix spelling of "invocation".
2019-09-17Merge branch 'master' into core-updatesLudovic Courtès
2019-09-13build-system/cargo: Remove unused function.Efraim Flashner
* guix/build/cargo-build-system.scm (touch): Remove it.
2019-09-13build-system/cargo: Use 'strip-store-file-name'.Efraim Flashner
This is a follow-up to f58b2f38e4dfdbb8473fb2816d44fae6ad9cbc79. * guix/build/cargo-build-system.scm (configure): Use bespoke 'strip-store-file-name' function.
2019-09-12build: cargo-build-system: Strip store hash from vendor-dir.Efraim Flashner
* guix/build/cargo-build-system.scm (configure): When copying the sources into the vendor-dir strip off the hash before the package name.
2019-09-06Merge branch 'master' into core-updatesMark H Weaver
2019-09-05build-system/asdf: Add option to compress programs.Pierre Neidhardt
* guix/build/lisp-utils.scm (build-program): Add `compress?' key argument. (generate-executable-for-system): Same. (generate-executable): Same.
2019-09-04build: Add julia-build-system.nixo
* guix/build/julia-build-system.scm: New file. * guix/build-system/julia.scm: New file. * Makefile.am (MODULES): Add them. * doc/guix.texi (Build Systems): Document julia-build-system. Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2019-09-02build/cargo-build-system: Use invoke.Efraim Flashner
* guix/build/cargo-build-system.scm (crate-src?, build, check, install): Use 'invoke'.
2019-08-29Merge branch 'master' into core-updatesMark H Weaver
2019-08-28build/cargo-build-system: Remove 'update-cargo-lock phase.Efraim Flashner
* guix/build/cargo-build-system.scm (update-cargo-lock): Remove procedure. (configure): Delete Cargo.lock file if it exists. (%standard-phases): Remove 'update-cargo-lock. * doc/guix.texi (Build System)[cargo-build-system]: Remove references to the 'update-cargo-lock phase.
2019-08-15guix: copy-linux-headers: Extract procedure, add headers.Jan Nieuwenhuizen
* guix/build/make-bootstrap.scm (copy-linux-headers): New procedure; extract from make-stripped-libc and add headers for Mes bootstrap. (make-stripped-libc): Use it.
2019-08-13Merge branch 'master' into core-updatesMarius Bakke
2019-08-12build/cargo-build-system: Move generate-all-checksums to cargo-utils.Efraim Flashner
* guix/build/cargo-build-system.scm (generate-all-checksums): Move procedure ... * guix/build/cargo-utils.scm: ... to here.
2019-08-08Merge branch 'master' into stagingMarius Bakke
2019-08-06Merge remote-tracking branch 'origin/master' into wip-texliveRicardo Wurmus
2019-08-04Merge branch 'master' into stagingMarius Bakke
2019-08-04build/cargo-build-system: Patch cargo checksums.Efraim Flashner
* guix/build/cargo-build-system.scm (generate-all-checksums): New procedure. (update-cargo-lock, patch-cargo-checksums): New phases. (%standard-phases): Add 'update=cargo-lock after 'configure and 'patch-cargo-checksums after 'patch-generated-file-shebangs. * doc/guix.texi (Build System)[cargo-build-system]: Mention how Cargo.lock files are handled.