From cfb6efcfc706e21c84682171581168e591b265d9 Mon Sep 17 00:00:00 2001 From: Ivan Petkov Date: Wed, 15 Feb 2023 18:44:59 -0800 Subject: [PATCH] Update flake.lock (#238) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit flake.lock: Update Flake lock file updates: • Updated input 'flake-utils': 'github:numtide/flake-utils/5aed5285a952e0b949eb3ba02c12fa4fcfef535f' (2022-11-02) → 'github:numtide/flake-utils/3db36a8b464d0c4532ba1c7dda728f4576d6d073' (2023-02-13) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/006c3bd4dd2f5d1d2094047f307cbf9e2b73d9c5' (2023-02-02) → 'github:NixOS/nixpkgs/6d33e5e14fd12f99ba621683ae90cebadda753ca' (2023-02-15) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/383a4acfd11d778d5c2efcf28376cbd845eeaedf' (2023-02-03) → 'github:oxalica/rust-overlay/a619538647bd03e3ee1d7b947f7c11ff289b376e' (2023-02-15) Co-authored-by: github-actions[bot] --- flake.lock | 18 +++++++++--------- .../bin/crane-resolve-workspace-inheritance.rs | 7 ++----- 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/flake.lock b/flake.lock index a1d48ac..ee8be25 100644 --- a/flake.lock +++ b/flake.lock @@ -18,11 +18,11 @@ }, "flake-utils": { "locked": { - "lastModified": 1667395993, - "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", + "lastModified": 1676283394, + "narHash": "sha256-XX2f9c3iySLCw54rJ/CZs+ZK6IQy7GXNY4nSOyu2QG4=", "owner": "numtide", "repo": "flake-utils", - "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", + "rev": "3db36a8b464d0c4532ba1c7dda728f4576d6d073", "type": "github" }, "original": { @@ -33,11 +33,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1675309347, - "narHash": "sha256-D3CQ6HRDT2m3XJlrzb5jKq4vNFR5xFTEFKC7iSjlFpM=", + "lastModified": 1676426280, + "narHash": "sha256-7DltKPrvCP0A9Iemv2ts1vnBYn5xQKScK/sb1VALlao=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "006c3bd4dd2f5d1d2094047f307cbf9e2b73d9c5", + "rev": "6d33e5e14fd12f99ba621683ae90cebadda753ca", "type": "github" }, "original": { @@ -65,11 +65,11 @@ ] }, "locked": { - "lastModified": 1675391458, - "narHash": "sha256-ukDKZw922BnK5ohL9LhwtaDAdCsJL7L6ScNEyF1lO9w=", + "lastModified": 1676437770, + "narHash": "sha256-mhJye91Bn0jJIE7NnEywGty/U5qdELfsT8S+FBjTdG4=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "383a4acfd11d778d5c2efcf28376cbd845eeaedf", + "rev": "a619538647bd03e3ee1d7b947f7c11ff289b376e", "type": "github" }, "original": { diff --git a/pkgs/crane-utils/src/bin/crane-resolve-workspace-inheritance.rs b/pkgs/crane-utils/src/bin/crane-resolve-workspace-inheritance.rs index 337e0bf..a6fc87c 100644 --- a/pkgs/crane-utils/src/bin/crane-resolve-workspace-inheritance.rs +++ b/pkgs/crane-utils/src/bin/crane-resolve-workspace-inheritance.rs @@ -20,16 +20,13 @@ fn main() { .expect("please specify a path to a Cargo.toml file"); let cargo_toml = Path::new(&cargo_toml); - args.for_each(|arg| eprintln!("ignoring argument: {}", arg)); + args.for_each(|arg| eprintln!("ignoring argument: {arg}")); env::set_current_dir(cargo_toml.parent().expect("can't cd into Cargo.toml dir")) .expect("can't cd into Cargo.toml dir"); if let Err(err) = resolve_and_print_cargo_toml(cargo_toml) { - eprintln!( - "ignoring error in resolving workspace inheritance: {:?}", - err - ); + eprintln!("ignoring error in resolving workspace inheritance: {err:?}"); } }