diff options
author | Marius Bakke <marius@gnu.org> | 2020-06-13 22:52:25 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2020-06-13 22:52:25 +0200 |
commit | 8ab70bae52f8d4b6356ec3b8a88cebf9debe8520 (patch) | |
tree | 6e13e1de3c9addac9dad5d9f194c229baa3b59ab /gnu/packages/rust-apps.scm | |
parent | 9bc516bada71e1437d73971584bff5e72e053dbe (diff) | |
parent | 8ea91d05b0fd16a8dd42a53efee9b16991d581b9 (diff) |
Merge branch 'staging'
Diffstat (limited to 'gnu/packages/rust-apps.scm')
-rw-r--r-- | gnu/packages/rust-apps.scm | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 5d0521a216..132a17810c 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -245,18 +245,8 @@ provides defaults for 80% of the use cases.") (install-file manpage (string-append (assoc-ref outputs "out") "/share/man/man1")))) - #t)) - (replace 'install - ;; Adapted from (guix build cargo-build-system). The flags need to - ;; be passed to `cargo install' too, as otherwise it will build - ;; another binary, without the features. - (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) - (mkdir-p out) - (setenv "CARGO_TARGET_DIR" "./target") - (invoke "cargo" "install" "--path" "." "--root" out - "--features" "pcre2"))))) - #:cargo-build-flags '("--release" "--features" "pcre2"))) + #t))) + #:features '("pcre2"))) (native-inputs `(("asciidoc" ,asciidoc) ("pcre2" ,pcre2) |