Skip to content

Commit

Permalink
ConfigureNix: place nix.conf before setting up the default Nix profile (
Browse files Browse the repository at this point in the history
  • Loading branch information
cole-h authored Nov 27, 2024
1 parent e887cc3 commit 53a6c2a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/action/common/configure_nix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,16 +169,16 @@ impl Action for ConfigureNix {
configure_shell_profile,
} = self;

setup_default_profile
.try_execute()
.await
.map_err(Self::error)?;
if let Some(place_nix_configuration) = place_nix_configuration {
place_nix_configuration
.try_execute()
.await
.map_err(Self::error)?;
}
setup_default_profile
.try_execute()
.await
.map_err(Self::error)?;
if let Some(configure_shell_profile) = configure_shell_profile {
configure_shell_profile
.try_execute()
Expand Down

0 comments on commit 53a6c2a

Please sign in to comment.