summaryrefslogtreecommitdiff
path: root/guix/build
Commit message (Collapse)AuthorAge
...
* | | | | | download: Load *.crt certificate bundles when *.pem files are missing.Ludovic Courtès2019-11-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | build-system: emacs: Simplify the SET-EMACS-LOAD-PATH phase.Maxim Cournoyer2019-11-18
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | make-bootstrap: Adjust copied linux headers.Efraim Flashner2019-11-15
| | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/make-bootstrap.scm (copy-linux-headers): Remove header file 'a.out.h' is no longer part of the linux kernel headers.
* | | | | guix: svn: Allow dropping externals.Julien Lepiller2019-11-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/svn.scm (svn-fetch): Allow to ignore externals. * guix/svn-download.scm (svn-reference, svn-multi-reference): Add recursive? field.
* | | | | guix: Add file-locking with no wait.Julien Lepiller2019-11-08
| | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/syscalls.scm (with-file-lock/no-wait): New procedure. (lock-file): Take a #:wait? key.
* | | | | Revert "guix: svn: Allow dropping externals."Tobias Geerinckx-Rice2019-10-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 51395c84fdbf8daed6392951a973ad750cf3eefa, fixing <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37896>. Reported by <o.rojon@posteo.net>.
* | | | | guix: svn: Allow dropping externals.Julien Lepiller2019-10-23
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | * guix/build/svn.scm (svn-fetch): Allow to ignore externals. * guix/svn-download.scm (svn-reference, svn-multi-reference): Add recursive? field.
* | | | download: Honor /etc/ssl/certs when 'SSL_CERT_DIR' is not set.Ludovic Courtès2019-10-21
| |_|/ |/| | | | | | | | | | | | | | | | | * 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.
* | | gnu: Add nsis-x86_64 and nsis-i686.Carl Dong2019-10-11
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | syscalls: Add 'add-to-entropy-count'.Ludovic Courtès2019-10-05
| | | | | | | | | | | | * guix/build/syscalls.scm (RNDADDTOENTCNT): New variable. (add-to-entropy-count): New procedure. * tests/syscalls.scm ("add-to-entropy-count"): New test.
* | Merge branch 'master' into core-updatesLudovic Courtès2019-10-01
|\ \
| * | syscalls: 'define-as-needed' does not re-export local variables.Ludovic Courtès2019-09-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | compile: Fix race condition on completion progress.Eric Bavier2019-09-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge branch 'master' into core-updatesLudovic Courtès2019-09-24
|\| |
| * | build: ruby-build-system: Fix typo.Vagrant Cascadian2019-09-23
| | | | | | | | | | | | * guix/build/ruby-build-system: Fix spelling of "invocation".
* | | Merge branch 'master' into core-updatesLudovic Courtès2019-09-17
|\| |
| * | build-system/cargo: Remove unused function.Efraim Flashner2019-09-13
| | | | | | | | | | | | * guix/build/cargo-build-system.scm (touch): Remove it.
| * | build-system/cargo: Use 'strip-store-file-name'.Efraim Flashner2019-09-13
| | | | | | | | | | | | | | | | | | | | | This is a follow-up to f58b2f38e4dfdbb8473fb2816d44fae6ad9cbc79. * guix/build/cargo-build-system.scm (configure): Use bespoke 'strip-store-file-name' function.
| * | build: cargo-build-system: Strip store hash from vendor-dir.Efraim Flashner2019-09-12
| | | | | | | | | | | | | | | * guix/build/cargo-build-system.scm (configure): When copying the sources into the vendor-dir strip off the hash before the package name.
* | | Merge branch 'master' into core-updatesMark H Weaver2019-09-06
|\| |
| * | build-system/asdf: Add option to compress programs.Pierre Neidhardt2019-09-05
| | | | | | | | | | | | | | | | | | * guix/build/lisp-utils.scm (build-program): Add `compress?' key argument. (generate-executable-for-system): Same. (generate-executable): Same.
| * | build: Add julia-build-system.nixo2019-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
| * | build/cargo-build-system: Use invoke.Efraim Flashner2019-09-02
| | | | | | | | | | | | | | | * guix/build/cargo-build-system.scm (crate-src?, build, check, install): Use 'invoke'.
* | | Merge branch 'master' into core-updatesMark H Weaver2019-08-29
|\| |
| * | build/cargo-build-system: Remove 'update-cargo-lock phase.Efraim Flashner2019-08-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * | guix: copy-linux-headers: Extract procedure, add headers.Jan Nieuwenhuizen2019-08-15
| |/ | | | | | | | | | | * 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.
* | Merge branch 'master' into core-updatesMarius Bakke2019-08-13
|\|
| * Merge branch 'master' into stagingMarius Bakke2019-08-08
| |\
| | * Merge remote-tracking branch 'origin/master' into wip-texliveRicardo Wurmus2019-08-06
| | |\
| | * | build: svn-fetch: Use "svn export".Ricardo Wurmus2019-07-23
| | | | | | | | | | | | | | | | | | | | | | | | * guix/build/svn.scm (svn-fetch): Use "svn export" instead of "svn checkout" because it does not include the .svn directory and allows us to fetch single files.
| * | | Merge branch 'master' into stagingMarius Bakke2019-08-04
| |\ \ \ | | | |/ | | |/|
| | * | build/cargo-build-system: Patch cargo checksums.Efraim Flashner2019-08-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * | | guix: ant-build-system: Put dummy project-name into default build.xml.Hartmut Goebel2019-07-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this, ant reported error messages like Target "tests" does not exist in the project "null". Simple using the jar-name is a good compromise. * guix/build/ant-build-system.scm (default-build.xml): Add attribute to sxml expression.
| * | | guix: ant-build-system: Use ant-task "jar" instead of executing "jar".Hartmut Goebel2019-07-25
| | |/ | |/| | | | | | | | | | * guix/build/ant-build-system.scm (default-build.xml): Change XML for target "jar" to use ant-task "jar" instead of "exec".
* | | Merge branch 'master' into core-updatesMarius Bakke2019-07-31
|\ \ \ | | |/ | |/|
| * | gnu: Update default Go compiler to Go 1.12.Leo Famulari2019-07-29
| |/ | | | | | | | | * gnu/packages/golang.scm (go): Update to go-1.12. * guix/build/go-build-system.scm (setup-go-environment): Set $GOCACHE.
* | syscalls: 'define-as-needed' does not re-export local variables.Ludovic Courtès2019-07-19
| | | | | | | | | | | | | | | | | | 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.
* | Merge branch 'master' into core-updatesLudovic Courtès2019-07-17
|\|
| * build/cargo-build-system: Use bundled json instead of guile-json.Robert Vollmert2019-07-16
| | | | | | | | | | | | | | | | | | * guix/build/cargo-build-system.scm: Use (gnu build json) instead of (json parser). * guix/build-system/cargo.scm: Import (gnu build json) instead of (json parser). Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
| * build/cargo-build-system: Set CARGO_HOME early.Robert Vollmert2019-07-16
| | | | | | | | | | | | | | * guix/build/cargo-build-system.scm (configure): Set CARGO_HOME. (install): No longer set CARGO_HOME. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
| * syscalls: Use 'define-as-needed' for 'AT_' constants introduced in Guile 2.2.5.Ludovic Courtès2019-07-15
| | | | | | | | | | | | * guix/build/syscalls.scm (AT_FDCWD, AT_SYMLINK_NOFOLLOW, AT_REMOVEDIR) (AT_SYMLINK_FOLLOW, AT_NO_AUTOMOUNT, AT_EMPTY_PATH): Define using 'define-as-needed'.
| * compile: Report the name of the file that cannot be compiled.Ludovic Courtès2019-07-15
| | | | | | | | | | | | | | | | | | | | Fixes <https://bugs.gnu.org/36640>. Reported by Robert Vollmert <rob@vllmrt.net>. * guix/build/compile.scm (call/exit-on-exception): Add 'file' parameter and honor it. (exit-on-exception): Likewise. (compile-files): Pass FILE to 'exit-on-exception'.
| * Revert "guix: node-build-system: Use guile-json instead of a custom parser."Julien Lepiller2019-07-14
| | | | | | | | | | | | | | | | | | The effect of this change was to import the (json parser) from the host side into the build side. The solution here would be to do the equivalent of ‘with-extensions’ for gexps. Since we don't use gexps for build systems just yet, revert this for now. This reverts commit 8eb0ba532ebbebef23180e666e0607ea735f9c1a.
| * guix: node-build-system: Use guile-json instead of a custom parser.Julien Lepiller2019-07-14
| | | | | | | | | | | | | | * guix/build/json.scm: Remove file. * Makefile.am: Remove it. * guix/build/node-build-system.scm: Use (json parser) instead of (guix build json). * guix/build-system/node.scm: Idem.
| * build: Add node-build-system.Jelle Licht2019-07-14
| | | | | | | | | | | | | | | | | | | | * guix/build/node-build-system.scm: New file. * guix/build-system/node.scm: New file. * guix/build/json.scm: New file. * doc/guix.texi: Document it. * Makefile.am: Added new files. Co-Authored-By: Julien Lepiller <julien@lepiller.eu>
| * build: Use '-Wshadowed-toplevel' only when supported.Ludovic Courtès2019-07-12
| | | | | | | | | | | | | | * guix/build/compile.scm (supported-warning-type?): New procedure. (%warnings): Remove 'unsupported-warning', though removing it doesn't make any difference. Define 'optional', and use it to determine whether to include 'shadowed-toplevel'.
* | build-system/go: Fix typo.Leo Famulari2019-07-13
| | | | | | | | * guix/build/go-build-system.scm (install): Fix typo.
* | Merge branch 'staging' into core-updatesMarius Bakke2019-07-02
|\|
| * download: Remove hydra from content-addressed URL listTobias Geerinckx-Rice2019-06-29
| | | | | | | | | | | | * guix/build/download-nar.scm (urls-for-item): Remove mirror.hydra.gnu.org. * guix/download.scm (%content-addressed-mirrors): Likewise.
* | gnu: make-bootstrap: Remove obsolete header file.Marius Bakke2019-07-02
| | | | | | | | * guix/build/make-bootstrap.scm (copy-linux-headers): Do not install 'a.out.h'.