File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ pub fn generate_config() -> crate::GenerateConfig {
13
13
output : "Cargo.nix" . into ( ) ,
14
14
use_cargo_lock_checksums : true ,
15
15
read_crate_hashes : true ,
16
+ registry_hashes_json : "registry-hashes.json" . into ( ) ,
16
17
}
17
18
}
18
19
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ fn self_up_to_date() {
34
34
other_metadata_options : vec ! [ ] ,
35
35
use_cargo_lock_checksums : true ,
36
36
read_crate_hashes : true ,
37
+ registry_hashes_json : PathBuf :: from ( "./registry-hashes.json" ) ,
37
38
} ,
38
39
)
39
40
. unwrap ( ) ;
@@ -79,6 +80,9 @@ fn assert_up_to_date(project_dir: &Path) {
79
80
other_metadata_options : vec ! [ ] ,
80
81
use_cargo_lock_checksums : true ,
81
82
read_crate_hashes : true ,
83
+ registry_hashes_json : PathBuf :: from ( "../" )
84
+ . join ( project_dir)
85
+ . join ( "./registry-hashes.json" ) ,
82
86
} ;
83
87
let metadata = BuildInfo :: for_config (
84
88
& GenerateInfo {
You can’t perform that action at this time.
0 commit comments