aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-05-12gnu: chez-scheme-for-system: Adjust for bytecode backend.Philip McGrath
Change 'chez-scheme-for-system' to return 'chez-scheme-for-racket' in two cases when it previously returned 'chez-scheme': 1. When 'chez-scheme' is not distributed with bootstrap bootfiles, since we can only cross-compile 'chez-scheme' for those systems; and 2. When neither 'chez-scheme' nor 'chez-scheme-for-racket' supports native code generation, since we will be able to use the ``portable bytecode'' backends of 'chez-scheme-for-racket' as soon as the issues in <https://racket.discourse.group/t/950> are resolved. * gnu/packages/chez.scm (chez-scheme-for-racket): Change condition. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-12gnu: chez-scheme-for-racket: Fix supported systems.Philip McGrath
This commit fixes the treatment of systems like "powerpc-w64-mingw32", where the combination of architecture and kernel is not supported, even though both are supported in other combinations. The build failure fixed in b8fc9169515ef1a6d6037c84e30ad308e5418b6f highlighted this problem: see also <https://issues.guix.gnu.org/54292#6>. The correct support status is specified by '%chez-features-table', which was added to improve 'chez-upstream-features-for-system': this commit uses it to fix the repair. Once the issues in <https://racket.discourse.group/t/950> are resolved, 'chez-scheme-for-racket' and 'racket-vm-cs' will be able to run even on systems for which native code generation is not supported. It's not clear what behavior would be useful from 'nix-system->chez-machine': since the current implementation is flawed and easy to misuse, we remove it for now, replacing the remaining uses with 'racket-cs-native-supported-system?'. * gnu/packages/chez.scm (nix-system->chez-machine): Remove it. (racket-cs-native-supported-system?): New variable. (chez-scheme-for-racket)[supported-systems]: Use it. * gnu/packages/racket.scm (racket-vm-for-system): Likewise. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-12gnu: chez-upstream-features-for-system: Improve implementation.Philip McGrath
This commit is a follow-up to b8fc9169515ef1a6d6037c84e30ad308e5418b6f. While that commit fixed a breaking build, this one begins to address the faulty assumptions that lead to the failure: see also <https://issues.guix.gnu.org/54292#6>. In this commit, we reimplement 'chez-upstream-features-for-system' using the new '%chez-features-table', which explicitly specifies platform support for both 'chez-scheme' and 'chez-scheme-for-racket', rather than assuming a non-false result from 'nix-system->chez-machine' means that the system is supported. The remaining uses of 'nix-system->chez-machine' still make that incorrect assumption and must be repaired in a future commit. * gnu/packages/chez.scm (%nix-arch-to-chez-alist, %nix-os-to-chez-alist): Replace with ... (target-chez-arch, target-chez-os): ... these new variables. (nix-system->chez-machine): Rewrite using them. (%chez-features-table): New variable. (chez-upstream-features-for-system): Rewrite using it. (chez-scheme)[supported-systems]: Update armhf-linux comment. (chez-scheme-bootstrap-bootfiles)[supported-systems]: Use 'chez-upstream-features-for-system'. (chez-machine->nonthreaded, chez-machine->threaded, chez-machine->nix-system): Remove unused functions. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-12gnu: stex: Get machine type dynamically.Philip McGrath
* gnu/packages/chez.scm (stex)[arguments]: Run 'scheme' to determine the machine type. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-12gnu: chez-scheme: Refactor configure phase and fix '--threads'.Philip McGrath
Move Chez-specific logic into '#:configure-flags' and a new 'configure-environment-variables' phase, leaving the 'configure' phase as just a variant of the one from 'gnu-build-system' (including support for '#:out-of-source?') that doesn't add implicit Autoconf-style flags. In the process, do the right thing for "--threads", rather than assuming the only nonthreaded platform is broken. * gnu/packages/chez.scm (chez-scheme)[arguments]: Set configure flags in '#:configure-flags' and separate 'configure-environment-variables' from the residual 'configure' phase. More closely follow 'gnu-build-system'. Use 'chez-upstream-features-for-system' for "--threads". (chez-scheme-for-racket)[arguments]<#:configure-flags>: Add "--threads" unconditionally. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-12gnu: chez-scheme: Refactor documentation phases.Philip McGrath
Patches merged in both upstream Chez Scheme and Racket's variant will soon let us replace the 'install-docs' phase with just 'make install-docs'. Separating the 'link-doc-pdfs' phase (which won't change) leaves us well-prepared for the transition, regardless of whether Chez Scheme 9.5.10 or Racket 8.6 is released first. * gnu/packages/chez.scm (chez-scheme)[arguments]: Split 'install-doc' phase into 'install-docs' (matching the future 'make' target) and 'link-doc-pdfs'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-12gnu: chez-scheme: Update to 9.5.8.Philip McGrath
* gnu/packages/chez.scm (chez-scheme): Update to 9.5.8. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-12gnu: racket: Fix out-of-source build.Philip McGrath
* gnu/packages/racket.scm (racket-vm-cgc)[arguments]: Supply '#:out-of-source? #t'. Wrap 'install-license-files' to work around limitation. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-12gnu: racket: Update to 8.5.Philip McGrath
* gnu/packages/patches/racket-gui-tethered-launcher-backport.patch, gnu/packages/patches/racket-enable-scheme-backport.patch: Delete files. * gnu/local.mk (dist_patch_DATA): Remove them. * gnu/packages/chez.scm (chez-scheme-for-racket): Update to 9.5.7.6. * gnu/packages/racket.scm (%racket-version): Update to 8.5. (%racket-origin)[patches]: Remove obsolete patches. (racket-vm-common-configure-flags): Correct comment. (racket)[inputs]<2d, datalog, deinprogramm, draw, drracket, expeditor, htdp, pict, plot, quickscript, racklog, rackunit, redex, scribble, typed-racket, string-constants, syntax-color, web-server, xrepl>: Update checksums. <gui, srfi>: Likewise, and remove obsolete backports. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-12gnu: quark: Use G-expressions.Arun Isaac
* gnu/packages/web.scm (quark)[arguments]: Rewrite using G-expressions.
2022-05-12gnu: fastahack: Wrap long line.Arun Isaac
* gnu/packages/bioinformatics.scm (fastahack): Wrap long line.
2022-05-12gnu: agda.scm: Add missing import.Efraim Flashner
* gnu/packages/agda.scm: Also use (guix gexp).
2022-05-11gnu: linux-libre 5.4: Update to 5.4.192.Leo Famulari
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.192. (linux-libre-5.4-pristine-source, deblob-scripts-5.4): Update hashes.
2022-05-11gnu: linux-libre 5.10: Update to 5.10.114.Leo Famulari
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.114. (linux-libre-5.10-pristine-source, deblob-scripts-5.10): Update hashes.
2022-05-11gnu: linux-libre 5.15: Update to 5.15.38.Leo Famulari
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.38. (linux-libre-5.15-pristine-source, deblob-scripts-5.15): Update hashes.
2022-05-11gnu: linux-libre: Update to 5.17.6.Leo Famulari
* gnu/packages/linux.scm (linux-libre-5.17-version): Update to 5.17.6. (linux-libre-5.17-pristine-source, deblob-scripts-5.17): Update hashes.
2022-05-08gnu: beep: Drop obsolete $(pkgdocdir) make flag.Tobias Geerinckx-Rice
* gnu/packages/terminals.scm (beep)[arguments]: Remove "pkgdocdir=" from #:make-flags.
2022-05-08gnu: beep: Use G-expressions.Tobias Geerinckx-Rice
* gnu/packages/terminals.scm (beep)[arguments]: Rewrite as G-expressions.
2022-05-08gnu: beep: Update to 1.4.12.Tobias Geerinckx-Rice
* gnu/packages/terminals.scm (beep): Update to 1.4.12. [arguments]: Set $(CC) #:make-flag. Manually substitute the correct value of make check's $(PWD). (!)
2022-05-08gnu: lighttpd: Update style.Tobias Geerinckx-Rice
* gnu/packages/web.scm (lighttpd)[arguments]: Rewrite as G-expressions. Don't explicitly return #t from phases. [inputs]: Remove input labels.
2022-05-08gnu: lighttpd: Update to 1.4.64.Tobias Geerinckx-Rice
* gnu/packages/web.scm (lighttpd): Update to 1.4.64. [arguments]: Add a new 'skip-failing-tests phase. [inputs]: Substitute pcre2 for pcre & pcre:bin.
2022-05-08gnu: lighttpd: Fix bash reference.Tobias Geerinckx-Rice
* gnu/packages/web.scm (lighttpd)[arguments]: Substitute SEARCH-INPUT-FILE for WHICH. [inputs]: Add bash-minimal. f fix lighttpd xcc
2022-05-08gnu: recutils: Fix cross-compilation.Tobias Geerinckx-Rice
* gnu/packages/databases.scm (recutils) [arguments]: Point "--with-bash-headers" to the root bash "/include" directory.
2022-05-08gnu: recutils: Remove some input labels.Tobias Geerinckx-Rice
* gnu/packages/databases.scm (recutils)[inputs]: Remove input labels. [arguments]: Adjust accordingly.
2022-05-08doc: Avoid leading ‘But’.Tobias Geerinckx-Rice
* doc/guix.texi (Manual Installation): End sentence later.
2022-05-08gnu: iceauth: Update to 1.0.9.Tobias Geerinckx-Rice
* gnu/packages/xorg.scm (iceauth): Update to 1.0.9.
2022-05-08gnu: agda: Use G-expressions.Tobias Geerinckx-Rice
* gnu/packages/agda.scm (agda)[arguments]: Rewrite as G-expressions.
2022-05-08gnu: agda: Update to 2.6.2.2.Tobias Geerinckx-Rice
* gnu/packages/agda.scm (agda): Update to 2.6.2.2.
2022-05-08gnu: isc-dhcp: Update to 4.4.3.Tobias Geerinckx-Rice
* gnu/packages/admin.scm (isc-dhcp): Update to 4.4.3. [source]: Remove upstreamed patch. * gnu/packages/patches/isc-dhcp-gcc-compat.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it.
2022-05-11gnu: python-pygit2: Update to 1.9.1.Ludovic Courtès
* gnu/packages/python-xyz.scm (python-pygit2): Update to 1.9.1. [propagated-inputs]: Change LIBGIT2-1.3 to LIBGIT2.
2022-05-11gnu: libgit2: Update to 1.4.3.Ludovic Courtès
* gnu/packages/version-control.scm (libgit2): Update to 1.4.3. [source]: Adjust snippet to comment out the "10 years ago" test, which was changed in 1.4.3 but is still problematic. [arguments]: Add "-DUSE_SSH=ON". Remove 'fix-hardcoded-paths' phase. Adjust 'check' phase for new executable name. (libgit2-1.3): New variable. (libgit2-1.1): Inherit from 'libgit2-1.3'; inherit from its origin too. * gnu/packages/crates-io.scm (rust-git2-0.13)[inputs]: Use LIBGIT2-1.3. * gnu/packages/python-xyz.scm (python-pygit2)[propagated-inputs]: Likewise. Co-authored-by: Maxime Devos <maximedevos@telenet.be>
2022-05-08gnu: nq: Use G-expressions.Tobias Geerinckx-Rice
* gnu/packages/admin.scm (nq)[arguments]: Rewrite as G-expressions.
2022-05-08gnu: nq: Update to 0.5.Tobias Geerinckx-Rice
* gnu/packages/admin.scm (nq): Update to 0.5.
2022-05-08gnu: netcat-openbsd: Update to 1.218-5.Tobias Geerinckx-Rice
* gnu/packages/admin.scm (netcat-openbsd): Update to 1.218-5.
2022-05-08gnu: inxi-minimal: Update to 3.3.15-1.Tobias Geerinckx-Rice
* gnu/packages/admin.scm (inxi-minimal): Update to 3.3.15-1.
2022-05-08gnu: htop: Update to 3.2.0.Tobias Geerinckx-Rice
* gnu/packages/admin.scm (htop): Update to 3.2.0.
2022-05-08gnu: libscrypt: Use G-expressions.Tobias Geerinckx-Rice
* gnu/packages/crypto.scm (libscrypt)[arguments]: Rewrite as G-expressions.
2022-05-08gnu: libscrypt: Update to 1.22.Tobias Geerinckx-Rice
* gnu/packages/crypto.scm (libscrypt): Update to 1.22.
2022-05-11gnu: mergerfs: Update to 2.33.5.Lars-Dominik Braun
* gnu/packages/file-systems.scm (mergerfs): Update to 2.33.5.
2022-05-11gnu: rust-rand-distr-0.4: Move code changes to snippet.Efraim Flashner
* gnu/packages/crates-io.scm (rust-rand-distr-0.4)[arguments]: Move code relaxing version requirements ... [source]: ... to a snippet.
2022-05-11gnu: rust-nalgebra-macros-0.1: Move code changes to snippet.Efraim Flashner
* gnu/packages/crates-io.scm (rust-nalgebra-macros-0.1)[arguments]: Move code relaxing version requirements ... [source]: ... to a snippet.
2022-05-11gnu: rust-nalgebra-0.26: Move code changes to snippet.Efraim Flashner
* gnu/packages/crates-io.scm (rust-nalgebra-0.26)[arguments]: Move code relaxing version requirements ... [source]: ... to a snippet. (rust-nalgebra-macros-0.1, rust-statrs-0.14)[arguments]: Adjust accordingly.
2022-05-11gnu: rust-average-0.13: Move code changes to snippet.Efraim Flashner
* gnu/packages/crates-io.scm (rust-average-0.13)[arguments]: Move code relaxing version requirements ... [source]: ... to a snippet. (rust-nalgebra-0.26, rust-nalgebra-macros-0.1, rust-rand-distr-0.4, rust-statrs-0.14)[arguments]: Adjust accordingly.
2022-05-11gnu: rust-pyo3-0.15: Adjust version dependency relaxing code.Efraim Flashner
* gnu/packages/crates-io.scm (rust-pyo3-0.15)[source]: Adjust snippet to require at least the desired version, not an exact version.
2022-05-11gnu: rust-proc-macro-error-1: Move code changes to snippet.Efraim Flashner
* gnu/packages/crates-io.scm (rust-proc-macro-error-1)[arguments]: Move code relaxing version requirements from custom phase ... [source]: ... to a snippet.
2022-05-11gnu: rust-parking-lot-core-0.8: Move code changes to snippet.Efraim Flashner
This allows the changes to propagate through the cargo-build-system. * gnu/packages/crates-io.scm (rust-parking-lot-core-0.8)[source]: Add snippet to relax version dependencies. [arguments]: Remove 'relax-dependencies phase.
2022-05-11gnu: cwltool: Do not propagate inputs.Arun Isaac
* gnu/packages/bioinformatics.scm (cwltool)[propagated-inputs]: Move to ... [inputs]: ... here.
2022-05-10gnu: Add ruby-money-open-exchange-rates.Stephen Paul Weber
* gnu/packages/ruby.scm (ruby-money-open-exchange-rates): New variable. Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
2022-05-10gnu: Add ruby-monetize.Stephen Paul Weber
* gnu/packages/ruby.scm (ruby-monetize): New variable. Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
2022-05-11gnu: python-cryptography: Bump 'rust-redox-syscall' dependency.Ludovic Courtès
Fixes a build failure. * gnu/packages/python-crypto.scm (python-cryptography): Replace 'rust-redox-syscall-0.1' with 'rust-redox-syscall-0.2'.