chore: Update nixpkgs and resolve resulting issues
This commit is contained in:
parent
2d2e3a9cca
commit
9facd640ad
3 changed files with 5 additions and 4 deletions
|
|
@ -57,9 +57,9 @@
|
|||
pre-commit-check = pre-commit-hooks.lib.${system}.run {
|
||||
src = ./.;
|
||||
tools.fourmolu = pkgs.haskellPackages.fourmolu;
|
||||
tools.nixfmt = pkgs.nixfmt-rfc-style;
|
||||
tools.nixfmt = pkgs.nixfmt;
|
||||
hooks = {
|
||||
nixfmt-rfc-style.enable = true;
|
||||
nixfmt.enable = true;
|
||||
fourmolu.enable = true;
|
||||
hpack.enable = true;
|
||||
hlint.enable = true;
|
||||
|
|
@ -143,7 +143,7 @@
|
|||
inherit (self.checks.${system}.pre-commit-check) shellHook;
|
||||
|
||||
packages = with pkgs; [
|
||||
nixfmt-rfc-style
|
||||
nixfmt
|
||||
nil
|
||||
];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ in
|
|||
|
||||
# nix tools
|
||||
nix-index
|
||||
nixfmt-rfc-style
|
||||
nixfmt
|
||||
# misc
|
||||
fd # better find
|
||||
file # info about files
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
enableCompletion = true;
|
||||
autosuggestion.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
dotDir = "${config.xdg.configHome}/zsh";
|
||||
|
||||
initContent = ''
|
||||
[ $TERM = "dumb" ] && unsetopt zle && PS1='$ '
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue