Skip to content

Commit

Permalink
fix flake checks
Browse files Browse the repository at this point in the history
  • Loading branch information
9999years committed Oct 12, 2024
1 parent efd6272 commit d57047d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion nix/packages/git-prole.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
installShellFiles,
pkg-config,
openssl,
bash,
git,
}:
let
src = lib.cleanSourceWith {
Expand Down Expand Up @@ -49,13 +51,17 @@ let
git-prole-nextest = craneLib.cargoNextest (
commonArgs
// {
nativeBuildInputs = commonArgs.nativeBuildInputs ++ [
bash
git
];
NEXTEST_HIDE_PROGRESS_BAR = "true";
}
);
git-prole-doctest = craneLib.cargoTest (
commonArgs
// {
cargoTestArgs = "--doc";
cargoTestExtraArgs = "--doc";
}
);
git-prole-clippy = craneLib.cargoClippy (
Expand Down
2 changes: 1 addition & 1 deletion src/git/worktree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ impl<'a> GitWorktree<'a> {

/// Get the full path for a new worktree with the given branch name.
///
/// This appends the [`Self::branch_dirname`] to the [`Git::worktree_container`].
/// This appends the [`Self::dirname_for`] to the [`Self::container`].
#[instrument(level = "trace")]
pub fn path_for(&self, branch: &str) -> miette::Result<Utf8PathBuf> {
Ok(self
Expand Down

0 comments on commit d57047d

Please sign in to comment.