summary refs log tree commit diff
path: root/gnu/packages/rust.scm
AgeCommit message (Collapse)Author
2019-03-29gnu: rust: Fix test setup.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.30)[arguments]<#:phases> [disable-amd64-avx-test]: Replace. (rust)[arguments]<#:phases>[disable-amd64-avx-test]: Replace.
2019-03-29gnu: rust: Refactor in order to prepare for newer Rust versions.Ivan Petkov
* gnu/packages/rust.scm (rust-source): Rename to... (rust-source-pre-1.32): ...this. Add PATCH-FLAGS. (rust-bootstrapped-package): Rename to... (rust-bootstrapped-package-pre-1.32): ...this. (rust-source): New procedure. (rust-bootstrapped-package): New procedure. (mrustc): Use rust-bootstrapped-package-pre-1.32. (rust-1.19): Use rust-bootstrapped-package-pre-1.32. (rust-1.20): Use rust-bootstrapped-package-pre-1.32. (rust-1.21): Use rust-bootstrapped-package-pre-1.32. (rust-1.22): Use rust-bootstrapped-package-pre-1.32. (rust-1.23): Use rust-bootstrapped-package-pre-1.32. (rust-1.24): Use rust-bootstrapped-package-pre-1.32. (rust-1.25): Use rust-bootstrapped-package-pre-1.32. (rust-1.26): Use rust-bootstrapped-package-pre-1.32. (rust-1.27): Use rust-bootstrapped-package-pre-1.32. (rust-1.28): Use rust-bootstrapped-package-pre-1.32. (rust-1.29): Use rust-bootstrapped-package-pre-1.32. (rust-1.30): Use rust-bootstrapped-package-pre-1.32. (rust): Use rust-bootstrapped-package-pre-1.32. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-03-23Merge branch 'staging' into core-updatesMarius Bakke
2019-03-21Merge branch 'master' into stagingMarius Bakke
2019-03-18Correct name and email address for ng0.ng0
* .mailmap, Makefile.am, doc/guix.de.texi, doc/guix.fr.texi, doc/guix.texi, etc/completion/fish/guix.fish, gnu/packages/accessibility.scm, gnu/packages/admin.scm, gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/cinnamon.scm, gnu/packages/compression.scm, gnu/packages/crypto.scm, gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm, gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm, gnu/packages/enlightenment.scm, gnu/packages/erlang.scm, gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm, gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/gtk.scm, gnu/packages/guile-wm.scm,gnu/packages/guile-xyz.scm, gnu/packages/haskell-check.scm, gnu/packages/haskell-crypto.scm, gnu/packages/haskell.scm, gnu/packages/image-viewers.scm, gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/language.scm, gnu/packages/libcanberra.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm, gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm, gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm, gnu/packages/ncurses.scm, gnu/packages/networking.scm, gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm, gnu/packages/perl-check.scm, gnu/packages/perl.scm, gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm, gnu/packages/python-web.scm, gnu/packages/python-xyz.scm, gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm, gnu/packages/rust.scm, gnu/packages/scheme.scm, gnu/packages/serialization.scm, gnu/packages/shells.scm, gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm, gnu/packages/telephony.scm, gnu/packages/text-editors.scm, gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm, gnu/packages/tor.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm, gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm, gnu/services/desktop.scm, gnu/services/version-control.scm, gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Correct name and email address for ng0. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2019-03-17gnu: rust: Work around Hydra bug.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.20)[properties]: Work around Hydra bug.
2019-03-10gnu: Use OpenSSL 1.1 as the default OpenSSL package.Marius Bakke
* gnu/packages/tls.scm (openssl-next): Delete variable. Move related code ... (openssl) ... here. (openssl-1.0): New public variable. Retain old arguments. * gnu/packages/crypto.scm (asignify)[inputs]: Change OPENSSL-NEXT to OPENSSL. * gnu/packages/databases.scm (mariadb)[inputs]: Change from OPENSSL to OPENSSL-1.0. * gnu/packages/node.scm (node)[inputs]: Likewise. * gnu/packages/rust.scm (rust-1.19)[inputs]: Likewise.
2019-03-10Merge branch 'staging' into core-updatesMarius Bakke
2019-03-06Merge branch 'master' into stagingMarius Bakke
2019-03-05gnu: rust: Update to 1.31.1.Ivan Petkov
* gnu/patches/rust-1.30-gdb-llvm.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/rust.scm (rust): Rename to... (rust-1.29): ...this. (rust-1.30): New variable. (rust): New variable. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-03-01Merge branch 'staging' into core-updatesMarius Bakke
2019-03-01Merge branch 'master' into stagingMarius Bakke
2019-03-01gnu: rust: Factor out "cargo-utils" from "cargo-build-system".Ivan Petkov
* guix/build/cargo-utils.scm: New file. * Makefile.am (MODULES): Add it. * guix/build-system/cargo.scm (%cargo-utils-modules): New variable. (%cargo-build-system-modules): Use it. * guix/build/cargo-build-system.scm (file-sha256, generate-checksums): Move from here... * guix/build/cargo-utils.scm: ...to here. * gnu/packages/rust.scm (rust-1.19.0)[arguments]<#:imported-modules>: Use %cargo-utils-modules. <#:phases>[patch-cargo-checksums]: Use (guix build cargo-utils). * gnu/packages/gnuzilla.scm (icecat): [arguments]<#:imported-modules>: Use %cargo-utils-modules. <#phases>[patch-cargo-checksums]: import (guix build cargo-utils). Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-02-24Merge branch 'staging' into core-updatesMarius Bakke
2019-02-24Merge branch 'master' into stagingMarius Bakke
2019-02-20gnu: rust: Fix build of rust 1.28.0, rust 1.29.2.Danny Milosavljevic
Follow-up to d199a4c7b4c4d3320ed59e96a382f4c577630360. * gnu/packages/rust.scm (rust-1.28)[inputs]: Use llvm-6 instead of llvm.
2019-02-20Merge branch 'staging' into core-updatesMarius Bakke
2019-02-20Merge branch 'master' into stagingMarius Bakke
2019-02-14gnu: rust: Update to 1.29.2.Ivan Petkov
* gnu/packages/rust.scm (rust): Rename to... (rust-1.28): ...this. (rust): New variable.
2019-02-13gnu: mrustc: Fix deserialization bug in communication with the proceduralDanny Milosavljevic
macro compiler plugin. * gnu/packages/patches/mrustc-0.8.0-fix-variable-length-integer-receiving.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/rust.scm (mrustc)[source]: Use it. Co-authored-by: Chris Marusich <cmmarusich@gmail.com>
2019-02-09gnu: Use GCC 7 as the default compiler.Marius Bakke
* gnu/packages/cross-base.scm (%gcc-cross-include-paths): Remove CROSS_C_INCLUDE_PATH & co in favor of CROSS_CPATH. * gnu/build/cross-toolchain.scm (%gcc-cross-include-paths): Likewise. (cross-gcc-build-phases): Set CROSS_C_INCLUDE_PATH and CROSS_CPLUS_INCLUDE_PATH when building the cross GCC. * gnu/packages/commencement.scm (libstdc++): Add "--disable-libstdcxx-dual-abi" to #:configure-flags. (gcc-boot0)[arguments]: Add "--disable-libmpx" to #:configure-flags. (gcc-final): Add phase to set C_INCLUDE_PATH and CPLUS_INCLUDE_PATH before building GCC. (gcc-toolchain-5): Use MAKE-GCC-TOOLCHAIN. (gcc-toolchain-7): Change to GCC-TOOLCHAIN. * gnu/packages/gcc.scm (gcc): Change from GCC-5 to GCC-7. (gfortran): Change to GFORTRAN-7. (gcc-objc): Change to GCC-OBJC-7. (gcc-objc++): Change to GCC-OBJC++-7. * gnu/packages/rust.scm (rust-1.19.0)[native-search-paths]: Change from C_INCLUDE_PATH & co to CPATH.
2018-12-12gnu: rust: Increase build timeouts.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.19)[properties]: New field. (rust-1.20)[properties]: New field.
2018-12-02gnu: rust: Remove flaky test.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.22)[arguments]<#:phases>[remove-flaky-test]: New phase.
2018-11-29gnu: rust: Shorten patch file name.Ludovic Courtès
This file name was too long to fit in a tar archive. * gnu/packages/patches/rust-mdbook-support-reproducible-builds-by-forcing-window.search.patch: Rename to... * gnu/packages/patches/rust-reproducible-builds.patch: ... this. * gnu/packages/rust.scm (rust-1.27, rust): Adjust accordingly. * gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2018-11-24gnu: rust: Don't depend on 'git'.Marius Bakke
* gnu/packages/rust.scm (rust-1.19)[inputs]: Remove GIT. (rust-1.20)[arguments]: Disable Cargo tests that require git. (rust-1.26)[arguments]: Likewise.
2018-10-30gnu: rust: Remove binary bootstrapper.Danny Milosavljevic
* gnu/packages/rust.scm (rust-bootstrap): Delete variable.
2018-10-30gnu: rust@1.23.0: Bootstrap from rust@1.22.0.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.23): Bootstrap from rust@1.22.0.
2018-10-30gnu: rust@1.23.0: Inherit from rust@1.22.0.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.23)[inherit]: Inherit from rust-1.22. [arguments]: Inherit from rust-1.22. Delete "remove-ar" phase.
2018-10-30gnu: rust: Hide "ar" entry from rust@1.21.0.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.21)[arguments]<#:phases>[remove-ar]: New phase.
2018-10-30gnu: rust: Accept more detailed gdb lines for simple enums.Danny Milosavljevic
* gnu/packages/patches/rust-1.25-accept-more-detailed-gdb-lines.patch: Modify. * gnu/packages/rust.scm (rust-1.25)[arguments]<#:phases>[disable-nil-enum-test]: Delete phase.
2018-10-26gnu: rust: Update to 1.28.Nikolai Merinov
* gnu/packages/rust.scm (rust): Rename to... (rust-1.27): ... this. (rust): New variable.
2018-10-26gnu: rust: Work around rust 1.25...1.27 reproducibility issues.Nikolai Merinov
* gnu/packages/patches/rust-mdbook-support-reproducible-builds-by-forcing-window.search.patch: New file. * gnu/local.mk (dist_patch_DATA): Add new patch file. * gnu/packages/rust.scm (rust-1.19): Use system libssh2 library. during cargo build. Note: libgit2 still bundled, because cargo tests assume specific libgit2 minor release. (rust-1.23): Inherit native-inputs from previous package. (rust-1.25): Switch back to llvm 3.9.1 as workaround for https://github.com/rust-lang/rust/issues/50556 issue. (rust-1.27): Apply changes from https://github.com/rust-lang-nursery/mdBook/pull/692 to make generation of "searchindex.js" files reproducible. Disable cargo test that required llvm 6.
2018-09-22Revert 'gnu: rust: Remove unused "ar" setting.'.Danny Milosavljevic
Some versions of Rust do need it and others complain about it. For now, revert the removal entirely. This reverts commit ec944a1de97c8a523d6e1089b8c4430424297f93.
2018-09-21gnu: rust: Remove unused "ar" setting.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.20)[arguments]<#:phases>[configure]: Remove unused "ar" setting.
2018-09-21gnu: rust: Remove unused "localstatedir" setting.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.20)[arguments]<#:phases>[configure]: Remove unused "localstatedir" setting.
2018-09-21gnu: rust: Work around mtime bug in rust build helpers.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.20)[arguments]<#:phases>[fix-mtime-bug]: Delete. [reset-timestamps-after-changes]: Modify. (rust-1.24): Don't delete "fix-mtime-bug" since now it doesn't ever get created.
2018-09-21gnu: rust@1.20.0: Fix tests.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.23)[arguments]<#:phases> [patch-cargo-tests, ignore-glibc-2.27-incompatible-test,fix-mtime-bug]: Move to... (rust-1.20): ... here.
2018-09-19gnu: rust@1.19.0: Install libtest.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[build]: Build libtest.
2018-09-19gnu: mrustc: Enable tests.Danny Milosavljevic
* gnu/packages/rust.scm (mrustc)[arguments]: Add #:test-target. <#:phases>[install]: Don't install test output.
2018-09-13gnu: rust: Update to 1.27.2.Danny Milosavljevic
* gnu/packages/rust.scm (rust): Update to 1.27.2.
2018-09-13gnu: rust@1.23.0: Inherit outputs.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.23)[outputs]: Inherit.
2018-09-13gnu: rust@1.25.0: Disable pedantic test.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.25)[arguments]<#:phases> [disable-nil-enum-test]: New phase.
2018-09-13gnu: rust: Accept more detailed gdb responses.Danny Milosavljevic
* gnu/packages/patches/rust-1.25-accept-more-detailed-gdb-lines.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/rust.scm (rust-1.25): Use it. (rust-1.26): Use it. (rust): Use it.
2018-09-13gnu: rust@1.20.0: Replace "default-ar" by "ar".Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.20)[arguments]<#:phases>[configure]: Replace "default-ar" by "ar".
2018-09-13gnu: Add rust@1.22.1.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.22): New variable.
2018-09-13gnu: Add rust@1.21.0.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.21): New variable.
2018-09-13gnu: rust-bootstrap: Clean up comments.Danny Milosavljevic
* gnu/packages/rust.scm (rust-bootstrap): Clean up comments.
2018-09-13gnu: rust: Move "cc" from rust-bootstrap to rust proper.Danny Milosavljevic
* gnu/packages/rust.scm (rust-bootstrap)[arguments]<#:phases>[install]: Delete "cc". (rust-1.23)[arguments]<#:phases>: Delete "provide-cc" deletion.
2018-09-13gnu: rust@1.23.0: Use rust@1.20.0 as template.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.23)[inherit]: Use rust-1.20. [arguments]<#:phases>: Delete "patch-cargo-tomls" phase deletion. Add "provide-cc" phase deletion. Add "configure-archiver" phase deletion. [configure]: Inherit phase. [reset-timestamps-after-changes]: Inherit phase. [build]: Inherit phase. [check]: Inherit phase. [install]: Inherit phase. [wrap-rustc]: Inherit phase.
2018-09-13gnu: Add rust@1.20.0.Danny Milosavljevic
* gnu/packages/rust.scm (rust-1.20): New variable.