aboutsummaryrefslogtreecommitdiff
path: root/gnu/tests.scm
diff options
context:
space:
mode:
authorIvan Petkov <ivanppetkov@gmail.com>2019-04-02 03:02:51 -0700
committerChris Marusich <cmmarusich@gmail.com>2019-04-09 03:09:00 -0700
commit1d3acde5087d50af6a4901fd7614f0940eb7b41d (patch)
treeaf0447b8e6ebd2c1035e06627c6d28f509a74065 /gnu/tests.scm
parent23635b2ee95c2deb5041329fc2124636319a6333 (diff)
downloadguix-1d3acde5087d50af6a4901fd7614f0940eb7b41d.tar.gz
guix-1d3acde5087d50af6a4901fd7614f0940eb7b41d.zip
build-system/cargo: refactor phases to successfully build
* guix/build-system/cargo.scm (%cargo-build-system-modules): Add (json parser). (cargo-build): [vendor-dir]: Define flag and pass it to builder code. [cargo-test-flags]: Likewise. [skip-build?]: Likewise. * guix/build/cargo-build/system.scm (#:use-module): use (json parser). (package-name->crate-name): Delete it. (manifest-targets): Add it. (has-executable-target?): Add it. (configure): Add #:vendor-dir name and use it. Don't touch Cargo.toml. Don't symlink to duplicate inputs. Remove useless registry line from cargo config. Define RUSTFLAGS to lift lint restrictions. (build): Add #:skip-build? flag and use it. (check): Likewise. Add #:cargo-test-flags and pass it to cargo. (install): Factor source logic to install-source. Define #:skip-build? flag and use it. Only install if executable targets are present. (install-source): Copy entire crate directory not just src. [generate-checksums] pass dummy file for unused second argument. (%standard-phases): Add install-source phase. Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
Diffstat (limited to 'gnu/tests.scm')
0 files changed, 0 insertions, 0 deletions
/ci.scm?id=e3f0155c41b28510f77e113ca2d37f0e7d90a2ca'>image: Do not use VM to create disk-images....Mathieu Othacehe 2020-05-05Merge branch 'master' into core-updatesMarius Bakke 2020-05-05image: Add a new API....Mathieu Othacehe 2020-04-08Merge branch 'master' into core-updates...Marius Bakke 2020-04-07ci: Remove "mips64el-linux-gnuabi64" from '%cross-targets'....Ludovic Courtès 2020-03-14Merge branch 'master' into core-updatesMarius Bakke 2020-03-13maint: Add 'etc/release-manifest.scm'....Ludovic Courtès 2020-03-10Merge branch 'master' into core-updatesMarius Bakke 2020-03-05ci: Adjust 'channel-build-system' for when the source is a file name....Ludovic Courtès 2020-03-05tests: "make check-system" no longer interns source upfront....Ludovic Courtès 2020-03-05ci: Move 'cross-jobs' procedure to the top level....Ludovic Courtès 2020-02-24ci: Don't cross build bootstrap tarballs to MinGW....Ludovic Courtès 2020-01-31ci: Cross-build for riscv64-linux-gnu....Ludovic Courtès 2019-12-01ci: Make sure the Guix checkout is the one providing Cuirass proc....Clément Lassieur 2019-11-13tests: "make check-system" uses Guix built with (guix self)....Ludovic Courtès