Skip to content

Commit

Permalink
drop more cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
mkenigs committed Jan 15, 2024
1 parent ff93031 commit 2c63d4d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/action/common/configure_nix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,11 @@ impl Action for ConfigureNix {
setup_default_profile,
place_nix_configuration,
configure_shell_profile,
#[cfg(feature = "nix-community")]
setup_channels,
} = &self;

let mut buf = setup_default_profile.describe_execute();
buf.append(&mut place_nix_configuration.describe_execute());
#[cfg(feature = "nix-community")]
if let Some(setup_channels) = setup_channels {
buf.append(&mut setup_channels.describe_execute());
}
Expand Down Expand Up @@ -231,7 +229,6 @@ impl Action for ConfigureNix {
setup_default_profile,
place_nix_configuration,
configure_shell_profile,
#[cfg(feature = "nix-community")]
setup_channels,
} = &self;

Expand Down
2 changes: 0 additions & 2 deletions src/action/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ pub(crate) mod create_users_and_groups;
pub(crate) mod delete_users;
pub(crate) mod place_nix_configuration;
pub(crate) mod provision_nix;
#[cfg(feature = "nix-community")]
pub(crate) mod setup_channels;

pub use configure_init_service::{ConfigureInitService, ConfigureNixDaemonServiceError};
Expand All @@ -19,5 +18,4 @@ pub use create_users_and_groups::CreateUsersAndGroups;
pub use delete_users::DeleteUsersInGroup;
pub use place_nix_configuration::PlaceNixConfiguration;
pub use provision_nix::ProvisionNix;
#[cfg(feature = "nix-community")]
pub use setup_channels::SetupChannels;

0 comments on commit 2c63d4d

Please sign in to comment.