File tree Expand file tree Collapse file tree 5 files changed +12
-15
lines changed Expand file tree Collapse file tree 5 files changed +12
-15
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ impl NixCmd {
79
79
pub fn command ( & self ) -> Command {
80
80
let mut cmd = Command :: new ( "nix" ) ;
81
81
cmd. kill_on_drop ( true ) ;
82
- cmd. args ( self . args . into_iter ( ) ) ;
82
+ cmd. args ( & self . args ) ;
83
83
cmd
84
84
}
85
85
Original file line number Diff line number Diff line change @@ -76,7 +76,6 @@ impl CustomStep {
76
76
override_inputs : subflake. override_inputs . clone ( ) ,
77
77
current_dir : Some ( path. clone ( ) ) ,
78
78
no_write_lock_file : false ,
79
- ..Default :: default ( )
80
79
} ;
81
80
82
81
match self {
Original file line number Diff line number Diff line change @@ -172,9 +172,9 @@ impl Shell {
172
172
OS :: MacOS { .. } => "Library/Application Support/nushell" ,
173
173
_ => ".config/nushell" ,
174
174
} ;
175
- vec ! [ "env.nu" , "config.nu" , "login.nu" ]
175
+ [ "env.nu" , "config.nu" , "login.nu" ]
176
176
. iter ( )
177
- . map ( |f| format ! ( "{}/{}" , base, f) . into ( ) )
177
+ . map ( |f| format ! ( "{}/{}" , base, f) )
178
178
. collect ( )
179
179
}
180
180
}
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ impl HealthEnvInfo {
51
51
. context ( "Unable to gather nix info" ) ?;
52
52
53
53
Ok ( Self {
54
- nix_installer : nix_info. nix_env . installer . clone ( ) . into ( ) ,
54
+ nix_installer : nix_info. nix_env . installer . clone ( ) ,
55
55
system : nix_info. nix_config . system . value . clone ( ) ,
56
56
os : nix_info. nix_env . os . clone ( ) ,
57
57
total_memory : nix_info. nix_env . total_memory ,
Original file line number Diff line number Diff line change 25
25
systems :
26
26
- x86_64-linux
27
27
- aarch64-darwin
28
- # Disabled until upstream bug is fixed,
29
- # https://github.com/rust-lang/rust-clippy/issues/14045
30
- # cargo-clippy:
31
- # type: devshell
32
- # command:
33
- # - just
34
- # - clippy
35
- # systems:
36
- # - x86_64-linux
37
- # - aarch64-darwin
28
+ cargo-clippy :
29
+ type : devshell
30
+ command :
31
+ - just
32
+ - clippy
33
+ systems :
34
+ - x86_64-linux
35
+ - aarch64-darwin
38
36
cargo-doc :
39
37
type : devshell
40
38
command :
You can’t perform that action at this time.
0 commit comments