diff options
author | Ivan Petkov <ivanppetkov@gmail.com> | 2019-02-14 23:04:28 -0800 |
---|---|---|
committer | Danny Milosavljevic <dannym@scratchpost.org> | 2019-03-01 08:20:50 +0100 |
commit | 7d141788b1f62aef31bc495eb40ab9f9e61ee3d2 (patch) | |
tree | 19c2f174a40a6b2c4fccbdb48da313ea6bef06ee /Makefile.am | |
parent | a215c938b387f5bbbb78f1e80d81b2e4e2c9f9e3 (diff) | |
download | patches-7d141788b1f62aef31bc495eb40ab9f9e61ee3d2.tar patches-7d141788b1f62aef31bc495eb40ab9f9e61ee3d2.tar.gz |
gnu: rust: Factor out "cargo-utils" from "cargo-build-system".
* 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>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 45f49c7bcf..6caf588754 100644 --- a/Makefile.am +++ b/Makefile.am @@ -144,6 +144,7 @@ MODULES = \ guix/build/download.scm \ guix/build/download-nar.scm \ guix/build/cargo-build-system.scm \ + guix/build/cargo-utils.scm \ guix/build/cmake-build-system.scm \ guix/build/dub-build-system.scm \ guix/build/dune-build-system.scm \ |