Skip to content

Commit

Permalink
update flake inputs. run formatter. move shell completion generation …
Browse files Browse the repository at this point in the history
…to post-fixup
  • Loading branch information
mattpolzin committed Jul 21, 2024
1 parent daf597d commit 7fb9110
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@
wrapProgram $out/bin/harmony \
--prefix PATH : ${lib.makeBinPath [nodeDependencies git "$out"]} \
--prefix NODE_PATH : ${nodeDependencies}/lib/node_modules
'';

postFixup = ''
installShellCompletion --cmd harmony \
--bash <($out/bin/harmony --bash-completion-script) \
--zsh <($out/bin/harmony --zsh-completion-script) \
Expand Down
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.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
system: let
harmony = self.packages.${system}.harmony;
in {
tests = harmony.overrideAttrs { doInstallCheck = true; };
tests = harmony.overrideAttrs {doInstallCheck = true;};
}
);
devShells = forAllSystems (
Expand Down

0 comments on commit 7fb9110

Please sign in to comment.