Remove duplicated import

This commit is contained in:
Roey Darwish Dror
2020-02-08 22:28:48 +02:00
parent ac1f0bfe63
commit 0ff71fec0a

View File

@@ -66,7 +66,6 @@ pub fn run_nix(ctx: &ExecutionContext) -> Result<()> {
#[cfg(target_os = "linux")]
{
use super::linux::Distribution;
use log::debug;
if let Ok(Distribution::NixOS) = Distribution::detect() {
debug!("Nix on NixOS must be upgraded via 'nixos-rebuild switch', skipping.");