aboutsummaryrefslogtreecommitdiff
path: root/guix/build
Commit message (Expand)AuthorAge
* Merge branch 'master' into core-updatesMarius Bakke2019-07-31
|\
| * gnu: Update default Go compiler to Go 1.12.•••* gnu/packages/golang.scm (go): Update to go-1.12. * guix/build/go-build-system.scm (setup-go-environment): Set $GOCACHE. Leo Famulari2019-07-29
* | syscalls: 'define-as-needed' does not re-export local variables.•••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. Ludovic Courtès2019-07-19
* | Merge branch 'master' into core-updatesLudovic Courtès2019-07-17
|\|
| * build/cargo-build-system: Use bundled json instead of guile-json.•••* 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> Robert Vollmert2019-07-16
| * build/cargo-build-system: Set CARGO_HOME early.•••* guix/build/cargo-build-system.scm (configure): Set CARGO_HOME. (install): No longer set CARGO_HOME. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org> Robert Vollmert2019-07-16
| * syscalls: Use 'define-as-needed' for 'AT_' constants introduced in Guile 2.2.5.•••* 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'. Ludovic Courtès2019-07-15
| * compile: Report the name of the file that cannot be compiled.•••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'. Ludovic Courtès2019-07-15
| * Revert "guix: node-build-system: Use guile-json instead of a custom parser."•••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. Julien Lepiller2019-07-14
| * guix: node-build-system: Use guile-json instead of a custom parser.•••* 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. Julien Lepiller2019-07-14
| * build: Add node-build-system.•••* 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> Jelle Licht2019-07-14
| * build: Use '-Wshadowed-toplevel' only when supported.•••* 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'. Ludovic Courtès2019-07-12
* | build-system/go: Fix typo.•••* guix/build/go-build-system.scm (install): Fix typo. Leo Famulari2019-07-13
* | Merge branch 'staging' into core-updatesMarius Bakke2019-07-02
|\|
| * download: Remove hydra from content-addressed URL list•••* guix/build/download-nar.scm (urls-for-item): Remove mirror.hydra.gnu.org. * guix/download.scm (%content-addressed-mirrors): Likewise. Tobias Geerinckx-Rice2019-06-29
* | gnu: make-bootstrap: Remove obsolete header file.•••* guix/build/make-bootstrap.scm (copy-linux-headers): Do not install 'a.out.h'. Marius Bakke2019-07-02
* | build-system/meson: Do not inherit the 'bootstrap' phase.•••* guix/build/meson-build-system.scm (%standard-phases): Remove 'bootstrap'. * gnu/packages/glib.scm (glib)[arguments]: Adjust accordingly. Marius Bakke2019-06-30
* | Merge branch 'master' into core-updatesLudovic Courtès2019-06-27
|\|
| * syscalls: Add 'terminal-rows'.•••* guix/build/syscalls.scm (terminal-dimension): New procedure. (terminal-columns): Rewrite in terms of 'terminal-dimension'. (terminal-rows): New procedure. * tests/syscalls.scm ("terminal-rows"): New test. Ludovic Courtès2019-06-27
| * compile: Enable 'shadowed-toplevel' warning.•••* guix/build/compile.scm (%warnings): Add 'shadowed-toplevel'. Ludovic Courtès2019-06-25
* | build-system/python: Export 'python-version'.•••* guix/build/python-build-system.scm (get-python-version): Rename to... (python-version): ... this. Update callers. Make public. * gnu/packages/gstreamer.scm (python-gst)[arguments]: Adjust accordingly. * gnu/packages/machine-learning.scm (ghmm)[arguments]: Likewise. * gnu/packages/openldap.scm (389-ds-base)[arguments]: Import (guix build python-build-system). Use 'python-version'. * gnu/packages/package-management.scm (conda)[arguments]: Use 'python-version'. Ludovic Courtès2019-06-21
* | Merge branch 'staging' into core-updatesMarius Bakke2019-06-20
|\|
| * Merge branch 'staging'Marius Bakke2019-06-15
| |\
| | * build-system/haskell: Generate Setup.hs if needed.•••The default Setup.hs is boilerplate that is frequently left out of source packages. Several packages already add a phase to generate it, so moving this phase to the build system is just factoring out an existing pattern. See <https://github.com/phadej/time-compat/issues/4>. * guix/build/haskell-build-system.scm (generate-setuphs): New procedure. (%standard-phases): Add it after 'unpack'. * gnu/packages/haskell.scm (ghc-foundation, ghc-inline-c, ghc-inline-c-cpp, ghc-rio): Remove 'arguments'. Signed-off-by: Timothy Sample <samplet@ngyro.com> Robert Vollmert2019-06-13
| | * build-system/haskell: Fix Haddock phase docstring.•••* guix/build/haskell-build-system.scm (haddock): Fix docstring. Signed-off-by: Timothy Sample <samplet@ngyro.com> Robert Vollmert2019-06-13
* | | utils: Add 'invoke/quiet'.•••* gnu/build/bootloader.scm (G_): Remove. (open-pipe-with-stderr, invoke/quiet): Move to... * guix/build/utils.scm: ... here. Use 'let-values' instead of 'define-values' because Guile 2.0 (the bootstrap Guile) doesn't know about 'define-values'. * po/guix/POTFILES.in: Remove gnu/build/bootloader.scm, and add guix/build/utils.scm. * tests/build-utils.scm: Remove import of (gnu build bootloader). Ludovic Courtès2019-06-17
* | | build-system/gnu: Make 'first-subdirectory' deterministic.•••Fixes <https://bugs.gnu.org/35387>. Reported by Christopher Baines <mail@cbaines.net>. * guix/build/gnu-build-system.scm (first-subdirectory): Rewrite using 'scandir' so that the result is deterministic. Ludovic Courtès2019-06-14
* | | Merge branch 'master' into core-updatesLudovic Courtès2019-06-13
|\| |
| * | build-system/cargo: Don't copy source as an output.•••* guix/build-system/cargo.scm: (cargo-build)[build-expression->derivation]: Don't add "src" output. * guix/build/cargo-build-system.scm: (install-source): Delete it. (%standard-phases): Delete 'install-source. Signed-off-by: Chris Marusich <cmmarusich@gmail.com> Ivan Petkov2019-06-11
| * | build-system/cargo: Use sources from package sources.•••* guix/build/cargo-build-system.scm (crate-src?): New procedure. (configure): Use the new procedure to expand crate tarballs in the vendor directory. Signed-off-by: Chris Marusich <cmmarusich@gmail.com> Ivan Petkov2019-06-11
| |/
| * syscalls: 'with-lock-file' catches ENOSYS.•••* guix/build/syscalls.scm (call-with-file-lock): Catch ENOSYS raised by 'lock-file'. Ludovic Courtès2019-06-05
| * syscalls: 'with-file-lock' expands to a call to 'call-with-file-lock'.•••* guix/build/syscalls.scm (call-with-file-lock): New procedure. (with-file-lock): Expand to a call to 'call-with-file-lock'. Ludovic Courtès2019-06-05
| * syscalls: Add 'with-file-lock' macro.•••* guix/scripts/offload.scm (lock-file, unlock-file, with-file-lock): Move to... * guix/build/syscalls.scm: ... here. Ludovic Courtès2019-06-05
| * build-system/guile: Display progress report as expected by (guix status).•••* guix/build/guile-build-system.scm (report-build-progress): Use a format string suitable for (guix status). Ludovic Courtès2019-06-02
| * build-system/guile: Add #:not-compiled-file-regexp.•••* guix/build/guile-build-system.scm (build): Add #:not-compiled-file-regexp and honor it. * guix/build-system/guile.scm (guile-build): Likewise. (guile-cross-build): Likewise. Ludovic Courtès2019-06-02
| * build-system/guile: Improve reporting of 'guild compile' failures.•••* guix/build/guile-build-system.scm (invoke-each)[processes]: New variable. [wait-for-one-process]: Check PROCESSES and update it. [fork-and-run-command]: Update PROCESSES. Ludovic Courtès2019-06-02
| * compile: Adjust for Guile 3.•••* guix/build/compile.scm (%default-optimizations): Adjust to the new names in Guile 2.9.2. Ludovic Courtès2019-06-02
* | Merge branch 'staging' into core-updatesMarius Bakke2019-05-25
|\|
| * download: Support 'https_proxy'.•••* guix/build/download.scm (setup-http-tunnel): New procedure. (open-connection-for-uri): Honor the 'https_proxy' environment variable. 宋文武2019-05-13
| * build/cargo-utils: Remove "src-name" parameter.•••* gnu/packages/gnuzilla.scm (icecat)[arguments]<#:phases> [patch-cargo-checksums]: Delete "null-file" variable. * gnu/packages/rust.scm (%cargo-reference-project-file): Delete variable. * gnu/packages/rust.scm (rust-1.19): Remove reference to "%cargo-reference-project-file". * guix/build/cargo-utils.scm (generate-checksums): Remove "src-name" parameter. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org> Ivan Petkov2019-05-10
| * syscalls: Add 'arp-network-interface?'.•••* guix/build/syscalls.scm (IFF_NOARP): New variable. (arp-network-interface?): New public procedure. Marius Bakke2019-05-09
| * Add (guix bzr-download).•••* guix/bzr-download.scm, guix/build/bzr.scm, etc/snippets/scheme-mode/guix-bzr-reference: New files. * Makefile.am (MODULES): Add them. * etc/snippets/scheme-mode/guix-origin: Add "bzr-fetch" to the origin choices. Maxim Cournoyer2019-05-09
| * build: go-build-system: Follow-up to commit f42e4ebb56.•••This follows commit f42e4ebb56, which made it so that the unpack phase return value could be left unspecified. * guix/build/go-build-system.scm (unpack): Ensure that the value returned upon a successful completion of the phase is #t. Maxim Cournoyer2019-05-05
| * build: go-build-system: Follow-up commit.•••There was an extraneous pair of parens in commit 7e84d3eef7. Thanks for Mark Weaver for reporting the issue. * guix/build/go-build-system.scm (unpack): Remove the extraneous pair of parentheses surrounding the `display' function call. Maxim Cournoyer2019-05-05
| * build: go-build-system: Ensure uniform unpacking directory.•••Depending on whether the source is a directory or an archive, we strip the source directory or preserve it, respectively. This change makes it so that whether the type of the source, it is unpacked at the expected location given by the IMPORT-PATH of the Go build system. * guix/build/go-build-system.scm: Add the (ice-9 ftw) module. (unpack): Add inner procedure to maybe strip the top level directory of an archive, document it and use it. Maxim Cournoyer2019-05-05
| * build: go-build-system: Use WHEN for side-effect conditionals.•••* guix/build/go-build-system.scm (unpack): Replace single branch `if' by `when'. Maxim Cournoyer2019-05-05
| * build: go-build-system: Re-ident.•••* guix/build/go-build-system.scm (unpack): Fix indentation. Maxim Cournoyer2019-05-05
* | Merge branch 'master' into core-updatesMarius Bakke2019-05-01
|\|
| * guix: Fix another typo in another docstring.•••* guix/build/clojure-utils.scm (include-list\exclude-list)<docstring>: Fix typo. Tobias Geerinckx-Rice2019-04-30
| * guix: Fix typo in docstring.•••* guix/build/syscalls.scm (device-in-use?)<docstring>: Fix typo. Tobias Geerinckx-Rice2019-04-30