Skip to content

Commit b5f4b62

Browse files
committed
home: use shared nvd implementation
1 parent b9358dd commit b5f4b62

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/home.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,14 +121,14 @@ impl HomeRebuildArgs {
121121
Some(spec) => Box::new(out_path.get_path().join("specialisation").join(spec)),
122122
};
123123

124-
// just do nothing for None case (fresh installs)
124+
// Just do nothing for None case (fresh installs)
125125
if let Some(generation) = prev_generation {
126-
Command::new("nvd")
127-
.arg("diff")
128-
.arg(generation)
129-
.arg(target_profile.get_path())
130-
.message("Comparing changes")
131-
.run()?;
126+
platform::compare_configurations(
127+
generation.to_str().unwrap_or(""),
128+
target_profile.get_path(),
129+
false,
130+
"Comparing changes",
131+
)?;
132132
}
133133

134134
if self.common.dry || matches!(variant, Build) {

0 commit comments

Comments
 (0)