Remove duplicated import
This commit is contained in:
@@ -66,7 +66,6 @@ pub fn run_nix(ctx: &ExecutionContext) -> Result<()> {
|
|||||||
#[cfg(target_os = "linux")]
|
#[cfg(target_os = "linux")]
|
||||||
{
|
{
|
||||||
use super::linux::Distribution;
|
use super::linux::Distribution;
|
||||||
use log::debug;
|
|
||||||
|
|
||||||
if let Ok(Distribution::NixOS) = Distribution::detect() {
|
if let Ok(Distribution::NixOS) = Distribution::detect() {
|
||||||
debug!("Nix on NixOS must be upgraded via 'nixos-rebuild switch', skipping.");
|
debug!("Nix on NixOS must be upgraded via 'nixos-rebuild switch', skipping.");
|
||||||
|
|||||||
Reference in New Issue
Block a user