unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob e85631ce1dc92fbbf8568268af97c14b762efb4d 944 bytes (raw)
name: gnu/packages/patches/shell2batch-0.4.2-lint-fix.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
 
This patch resolves the following error that was most likely introduced in new version of rust as this version of a package is from 2019 and we are building it in 2021:

error: unnecessary parentheses around type
   --> src/converter.rs:108:61
    |
108 | fn add_arguments(arguments: &str, additional_arguments: Vec<(String)>, pre: bool) -> String {
    |                                                             ^^^^^^^^ help: remove these parentheses

diff --git a/src/converter.rs b/src/converter.rs
index fc87d68..af309d2 100644
--- a/src/converter.rs
+++ b/src/converter.rs
@@ -105,7 +105,7 @@ fn replace_vars(arguments: &str) -> String {
     updated_arguments
 }
 
-fn add_arguments(arguments: &str, additional_arguments: Vec<(String)>, pre: bool) -> String {
+fn add_arguments(arguments: &str, additional_arguments: Vec<String>, pre: bool) -> String {
     let mut windows_arguments = if pre {
         "".to_string()
     } else {


debug log:

solving e85631ce1d ...
found e85631ce1d in https://yhetil.org/guix-patches/iyVc_WDzB13C41YwMkf71ROss-4R5ko_1Drb_6-zhkWa8PIpZ4sbIHiFEl2byDm_zeqg1dmy9pBvf6dM2ZMBoCBHMnbbTnoohPMGxUsZdf8=@rixotstudio.cz/ ||
	https://yhetil.org/guix-patches/95dFbGnz_skwEogtl4EAFNSfF96XaFRKs5nnB-bq0X-ngqipGJJy74yn4zSrtDZJdCHFFpVFhwFSrWWNkoo_6AOttMTvIodbywLJlKyyHzo=@rixotstudio.cz/ ||
	https://yhetil.org/guix-patches/SGCRRa3Qi2WGss-8sFd7jAIf5OwBZfd8rI63omR-faEyXbxAGNLEwYN95fQnJQkt5ynT0EHgjvU-bYzP3LBtKEtTIGe95-NbDqVcx2F2y9Y=@rixotstudio.cz/ ||
	https://yhetil.org/guix-patches/G9TtnnyFxHpsqvTXbN1a7GABV3jBM4RCM4UysImjeyyyOzFLpLx03aLS4E7CnkJ6OO8WsTwVL3TmyLC2yedkJDdrOoJJcIzFtLqoHR3_TOY=@rixotstudio.cz/

applying [1/1] https://yhetil.org/guix-patches/iyVc_WDzB13C41YwMkf71ROss-4R5ko_1Drb_6-zhkWa8PIpZ4sbIHiFEl2byDm_zeqg1dmy9pBvf6dM2ZMBoCBHMnbbTnoohPMGxUsZdf8=@rixotstudio.cz/
diff --git a/gnu/packages/patches/shell2batch-0.4.2-lint-fix.patch b/gnu/packages/patches/shell2batch-0.4.2-lint-fix.patch
new file mode 100644
index 0000000000..e85631ce1d

1:22: trailing whitespace.
 
Checking patch gnu/packages/patches/shell2batch-0.4.2-lint-fix.patch...
1:28: new blank line at EOF.
+
Applied patch gnu/packages/patches/shell2batch-0.4.2-lint-fix.patch cleanly.
warning: 2 lines add whitespace errors.

skipping https://yhetil.org/guix-patches/95dFbGnz_skwEogtl4EAFNSfF96XaFRKs5nnB-bq0X-ngqipGJJy74yn4zSrtDZJdCHFFpVFhwFSrWWNkoo_6AOttMTvIodbywLJlKyyHzo=@rixotstudio.cz/ for e85631ce1d
skipping https://yhetil.org/guix-patches/SGCRRa3Qi2WGss-8sFd7jAIf5OwBZfd8rI63omR-faEyXbxAGNLEwYN95fQnJQkt5ynT0EHgjvU-bYzP3LBtKEtTIGe95-NbDqVcx2F2y9Y=@rixotstudio.cz/ for e85631ce1d
skipping https://yhetil.org/guix-patches/G9TtnnyFxHpsqvTXbN1a7GABV3jBM4RCM4UysImjeyyyOzFLpLx03aLS4E7CnkJ6OO8WsTwVL3TmyLC2yedkJDdrOoJJcIzFtLqoHR3_TOY=@rixotstudio.cz/ for e85631ce1d
index at:
100644 e85631ce1dc92fbbf8568268af97c14b762efb4d	gnu/packages/patches/shell2batch-0.4.2-lint-fix.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).