Skip to content

Commit b9358dd

Browse files
committed
util/platform: cleanup; add more docs
1 parent ccd2608 commit b9358dd

File tree

2 files changed

+271
-153
lines changed

2 files changed

+271
-153
lines changed

src/nixos.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,9 @@ impl OsRollbackArgs {
318318
let mut _rollback_profile = false;
319319

320320
// Get the final profile path with specialisation if any
321-
let final_profile = platform::get_target_profile(&generation_link, &target_specialisation);
321+
let target_specialisation_option = target_specialisation;
322+
let final_profile =
323+
platform::get_target_profile(&generation_link, &target_specialisation_option);
322324

323325
// Activate the configuration
324326
info!("Activating...");

0 commit comments

Comments
 (0)