Danny Milosavljevic
91294b5361
Revert 'gnu: rust: Remove unused "ar" setting.'.
...
Some versions of Rust do need it and others complain about it.
For now, revert the removal entirely.
This reverts commit ec944a1de9
.
2018-09-22 10:09:47 +02:00
Danny Milosavljevic
ec944a1de9
gnu: rust: Remove unused "ar" setting.
...
* gnu/packages/rust.scm (rust-1.20)[arguments]<#:phases>[configure]: Remove
unused "ar" setting.
2018-09-21 17:59:09 +02:00
Danny Milosavljevic
10e066f410
gnu: rust: Remove unused "localstatedir" setting.
...
* gnu/packages/rust.scm (rust-1.20)[arguments]<#:phases>[configure]: Remove
unused "localstatedir" setting.
2018-09-21 15:21:24 +02:00
Danny Milosavljevic
e0b07ccc1a
gnu: rust: Work around mtime bug in rust build helpers.
...
* 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-21 01:35:00 +02:00
Danny Milosavljevic
1bfaae25fa
gnu: rust@1.20.0: Fix tests.
...
* 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-21 01:31:10 +02:00
Danny Milosavljevic
6c1a658414
gnu: rust@1.19.0: Install libtest.
...
* gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[build]: Build
libtest.
2018-09-19 14:41:01 +02:00
Danny Milosavljevic
4a90fcf9e7
gnu: mrustc: Enable tests.
...
* gnu/packages/rust.scm (mrustc)[arguments]: Add #:test-target.
<#:phases>[install]: Don't install test output.
2018-09-19 14:41:01 +02:00
Danny Milosavljevic
317b139c5d
gnu: rust: Update to 1.27.2.
...
* gnu/packages/rust.scm (rust): Update to 1.27.2.
2018-09-13 22:37:55 +02:00
Danny Milosavljevic
060366f6b3
gnu: rust@1.23.0: Inherit outputs.
...
* gnu/packages/rust.scm (rust-1.23)[outputs]: Inherit.
2018-09-13 17:19:04 +02:00
Danny Milosavljevic
b78fe27b31
gnu: rust@1.25.0: Disable pedantic test.
...
* gnu/packages/rust.scm (rust-1.25)[arguments]<#:phases>
[disable-nil-enum-test]: New phase.
2018-09-13 17:17:15 +02:00
Danny Milosavljevic
6fe73b487b
gnu: rust: Accept more detailed gdb responses.
...
* 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-13 17:17:15 +02:00
Danny Milosavljevic
73dc7834de
gnu: rust@1.20.0: Replace "default-ar" by "ar".
...
* gnu/packages/rust.scm (rust-1.20)[arguments]<#:phases>[configure]: Replace
"default-ar" by "ar".
2018-09-13 10:10:49 +02:00
Danny Milosavljevic
1ab3e1dd98
gnu: Add rust@1.22.1.
...
* gnu/packages/rust.scm (rust-1.22): New variable.
2018-09-13 10:10:49 +02:00
Danny Milosavljevic
05ebff92bd
gnu: Add rust@1.21.0.
...
* gnu/packages/rust.scm (rust-1.21): New variable.
2018-09-13 10:10:49 +02:00
Danny Milosavljevic
e69b1a7c6e
gnu: rust-bootstrap: Clean up comments.
...
* gnu/packages/rust.scm (rust-bootstrap): Clean up comments.
2018-09-13 10:10:49 +02:00
Danny Milosavljevic
bfdc0e4d45
gnu: rust: Move "cc" from rust-bootstrap to rust proper.
...
* gnu/packages/rust.scm (rust-bootstrap)[arguments]<#:phases>[install]:
Delete "cc".
(rust-1.23)[arguments]<#:phases>: Delete "provide-cc" deletion.
2018-09-13 10:10:49 +02:00
Danny Milosavljevic
333c0ca966
gnu: rust@1.23.0: Use rust@1.20.0 as template.
...
* 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-13 10:10:48 +02:00
Danny Milosavljevic
614cfd5c54
gnu: Add rust@1.20.0.
...
* gnu/packages/rust.scm (rust-1.20): New variable.
2018-09-13 00:25:01 +02:00
Danny Milosavljevic
3763e7716c
gnu: rust@1.19.0: Remove superfluous install-file call.
...
* gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[build]: Remove
superfluous install-file call.
2018-09-12 23:17:42 +02:00
Danny Milosavljevic
5a3fcf5b44
gnu: rust@1.19.0: Install rustdoc.
...
* gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[install]: Install
rustdoc.
2018-09-12 23:17:42 +02:00
Danny Milosavljevic
0bcd1bc778
gnu: rust@1.19.0: Use match-lambda directly.
...
Follow-up to 3159ef7c99
.
* gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[build]: Use
match-lambda directly.
2018-09-12 23:17:42 +02:00
Danny Milosavljevic
24d298b459
gnu: rust: Move rust-1.19 down.
2018-09-02 00:22:53 +02:00
Danny Milosavljevic
3159ef7c99
gnu: rust: Bootstrap (only) Rust 1.19.0 by mrustc.
...
* gnu/packages/patches/rust-1.19-mrustc.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/rust.scm (rust-1.19)[source]: Add patch
"rust-1.19-mrustc.patch".
[arguments]<#:modules>: New field.
<#:phases>[patch-cargo-tomls]: New phase.
<#:phases>[build]: Modify.
<#:phases>[install]: Modify.
[native-inputs]: Replace rust-bootstrap by mrustc.
(rust-1.23)[native-inputs]: New field.
[arguments]<#:phases>: Delete phase "patch-cargo-tomls".
2018-09-02 00:09:34 +02:00
Danny Milosavljevic
c1cdadc6ba
gnu: mrustc: Update to 0.8.0.
...
* gnu/packages/rust.scm (mrustc): Update to 0.8.0.
2018-08-09 07:50:57 +02:00
Danny Milosavljevic
f5704c72a5
gnu: mrustc: Update to 0.8-1.ec907f5.
...
* gnu/packages/rust.scm (mrustc): Update to 0.8-1.ec907f5.
[arguments]<#:phases>[patch-date]: New phase.
2018-08-07 19:23:48 +02:00
Efraim Flashner
080e11b48e
gnu: rust@1.25: Fix build on aarch64-linux.
...
* gnu/packages/rust.scm (rust@1.25 )[arguments]: Replace inherited custom
'patch-aarch64-test phase. Make sure all phases return #t.
2018-07-15 22:59:25 +03:00
Efraim Flashner
4f963b6f29
gnu: rust@1.19: Don't make public.
...
* gnu/packages/rust.scm (rust@1.19 ): Don't make it a public variable.
2018-07-15 22:59:25 +03:00
Nikolai Merinov
f510a2b93b
gnu: rust: Update to 1.27.0.
...
* gnu/packages/rust.scm (rust): Rename to...
(rust-1.26): ...this.
(rust): New variable.
* gnu/packages/patches/rust-bootstrap-stage0-test.patch: New file.
2018-07-10 15:09:25 +02:00
Nikolai Merinov
b47b2d3208
gnu: rust: Support build with glibc-2.27; update to 1.26.2.
...
* gnu/packages/rust.scm (rust-source): Add "patches" argument.
(rust-bootstrapped-package): Add "patches" argument.
(rust-1.19)[arguments]<#:phases>[patch-tests]: Modify.
[arguments]<#:phases>[patch-aarch64-test]: New phase.
[arguments]<#:phases>[use-readelf-for-tests]: New phase.
[arguments]<#:phases>[remove-unsupported-tests]: New phase.
(rust-1.23): Disable "run-pass/out-of-stack.rs" test.
(rust-1.24)[arguments]<#:phases>[patch-aarch64-test]: Replace.
(rust-1.25)[inputs]: Switch to LLVM 6.0.
(rust-1.25)[arguments]<#:phases>[enable-codegen-tests]: New variable.
(rust): New variable.
* gnu/packages/patches/rust-coresimd-doctest.patch: New file.
2018-07-10 15:09:22 +02:00
Mark H Weaver
2c790226d2
gnu: rust: Fix build for armhf and mips64el.
...
This is a followup to commit 514026d7de
.
* gnu/packages/rust.scm (nix-system->gnu-triplet-for-rust): New variable.
(rust-bootstrap, mrustc, rust-1.23): Use 'nix-system->gnu-triplet-for-rust'
instead of 'nix-system->gnu-triplet'.
2018-06-03 03:36:13 -04:00
Robin Templeton
514026d7de
gnu: rust: Add support for building 32-bit packages on 64-bit hosts.
...
* gnu/packages/rust.scm (rust-bootstrap, rust-1.23): Use
nix-system->gnu-triplet to determine the system type.
(rust-1.19): Use readelf instead of nm in the atomic-lock-free test.
(rust-1.23): Disable the cargo_test_env test. Disable parallel execution of
tests.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-06-01 13:50:27 +02:00
Marius Bakke
b3884bbfc5
gnu: rust: Fix typo.
...
* gnu/packages/rust.scm (rust-bootstrap)[description]: s/manaer/manager.
2018-05-26 17:04:17 +02:00
Danny Milosavljevic
c75c9b05e1
gnu: mrustc: Update to 0.0.0-3.b5b7089.
...
* gnu/packages/rust.scm (mrustc): Update to 0.0.0-3.b5b7089.
2018-05-25 00:59:41 +02:00
Danny Milosavljevic
39b40f16f2
gnu: mrustc: Update to 0.0.0-2.ee65f12.
...
* gnu/packages/rust.scm (mrustc): Update to 0.0.0-2.ee65f12.
[arguments]<#:phases>[configure]: New phase.
2018-05-18 01:55:29 +02:00
Ludovic Courtès
afc2bf5306
gnu: rust: Do not refer to 'gcc' from the top level.
...
Fixes <https://bugs.gnu.org/31392 >.
Reported by Marius Bakke <mbakke@fastmail.com>.
* gnu/packages/rust.scm (rust-1.19)[native-search-paths]: Avoid
top-level reference to 'gcc', which could lead to unbound variable
errors.
2018-05-10 00:27:17 +02:00
Efraim Flashner
94b22905ab
gnu: rust: Skip test_loading_cosine test.
...
* gnu/packages/rust.scm (rust-1.19.0)[arguments]: Modify custom
'patch-tests phase to skip test_loading_cosine test.
(rust-1.24.0)[arguments]: Modify inherited 'patch-tests to point to
updated code locations.
2018-04-18 09:49:57 +03:00
Danny Milosavljevic
8366a67b0a
gnu: mrustc: Update to 0.0.0-1.4f98e43.
...
* gnu/packages/rust.scm (mrustc): Update to 0.0.0-1.4f98e43.
2018-04-17 19:22:39 +02:00
Danny Milosavljevic
237587f1e0
gnu: rust: Disable test_process_mask tests.
...
* gnu/packages/rust.scm (rust-1.19): Disable test_process_mask tests.
2018-04-16 19:58:05 +02:00
Efraim Flashner
67ca98ec78
gnu: rust: Don't build for "native" arch on ARM.
...
* gnu/packages/rust.scm (rust-1.23)<#:phases>[dont-build-native]: New phase.
2018-04-16 19:58:05 +02:00
Danny Milosavljevic
af4ea9c5cb
gnu: rust: Don't #ignore the same test twice.
...
* gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[patch-tests]:
Don't #ignore the same test twice.
2018-04-16 19:58:05 +02:00
Danny Milosavljevic
a92bf11c49
gnu: Add mrustc.
...
* gnu/packages/rust.scm (mrustc): New variable.
2018-04-16 19:58:05 +02:00
Nikolai Merinov
fe61c88af9
gnu: rust: Update to 1.24.0.
...
* gnu/packages/rust.scm (rust): Rename to...
(rust-1.24): ...this.
(rust): New variable.
2018-04-16 19:58:04 +02:00
Nikolai Merinov
1bb23335e6
gnu: rust: Enable more tests.
...
* gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[set-env]: Modify.
(rust-1.23)<#:phases>[patch-cargo-tests]: New phase.
(rust-1.23)<#:phases>[check]: Enable more tests.
2018-04-16 19:58:02 +02:00
Danny Milosavljevic
ca523cc518
gnu: Factorize rust-bootstrapped-package.
...
* gnu/packages/rust.scm (rust-bootstrapped-package): New procedure.
(rust): Use rust-bootstrapped-package.
2018-04-15 09:22:16 +02:00
Danny Milosavljevic
8fdde58103
gnu: Add rust@1.19.0.
...
* gnu/packages/rust.scm (rust-1.23)[build-system, native-inputs, inputs,
native-search-paths, synopsis, description, home-page, license]: Move to...
(rust-1.19): ... here. New variable.
(rust-1.23)[arguments]<#:phases>[set-env, patch-tests, patch-cargo-checksums]:
Move to...
(rust-1.19): ... here.
(rust-1.19)[arguments]<#:phases>[configure, check, install]: Replace by no-op.
2018-04-15 09:22:12 +02:00
Nikolai Merinov
f342bb58fe
gnu: rust: Update rust to 1.24.1.
...
* gnu/packages/rust.scm (rust-bootstrap): Freeze bootstrap version to 1.22.1.
Reorganize bootstrap binaries to match new "rust" package structure with two
ouputs "out" with Rust compiler and "cargo" with Cargo package manager.
Replace all "system*" by "invoke".
(rust-1.23): Rename "rustc" to "rust". Update sha256 for tarball. Add cargo
related dependencies. Install "cargo" as separate "rust" output. Remove
substitutes for parts that were fixed in "rustc" source code. Install
documentation to separate "doc" output. Update configuration according to
changes in "rustc" source code. Replace all "system*" by "invoke".
(rust): Create package for 1.24.1 rust release based on rust-1.23 release.
* guix/build-system/cargo.scm (default-rust): Replace "default-cargo" and
"default-rustc" functions with "default-rust" function.
(cargo-build-system): Take only one package as "rust" source. Use "rustc" of
default output of "rust" package, use "cargo" as "cargo" output of "rust"
package.
2018-03-30 15:46:53 +02:00
ng0
4a78fd4617
Correct name and Email for ng0.
...
* .mailmap: Correct name and Email for ng0.
* Makefile.am, 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/emacs.scm, gnu/packages/enlightenment.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.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-crypto.scm, gnu/packages/python-web.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: Likewise.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2018-03-20 17:17:58 +01:00
Tobias Geerinckx-Rice
af38b2dd5e
gnu: cargo-version: Fix URI in comment.
...
The table of corresponding cargo and rustc versions was removed from
cargo's HEAD for being outdated, but still illustrates the pattern.
* gnu/packages/rust.scm (cargo-version): Link to an older README.md
revision.
2018-01-29 00:23:27 +01:00
Efraim Flashner
0d57068333
gnu: cargo: Add file-name field to input sources.
...
* gnu/packages/rust.scm (cargo)[inputs]: Add 'file-name' field to all
source inputs.
2017-12-11 21:21:46 +02:00
Efraim Flashner
e85d681cbf
gnu: rust: Add support for all platforms.
...
* gnu/packages/rust.scm (%rust-bootstrap-binaries): Add entries for all
platforms supported by Guix.
(rustc-bootstrap, cargo-bootstrap)[supported-systems]: Remove field.
2017-12-11 21:21:45 +02:00