chore: Update nixpkgs and resolve resulting issues

This commit is contained in:
Alexander Kobjolke 2026-02-20 20:38:18 +01:00
parent 2d2e3a9cca
commit 9facd640ad
3 changed files with 5 additions and 4 deletions

View file

@ -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
];
};

View file

@ -44,7 +44,7 @@ in
# nix tools
nix-index
nixfmt-rfc-style
nixfmt
# misc
fd # better find
file # info about files

View file

@ -17,6 +17,7 @@
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
dotDir = "${config.xdg.configHome}/zsh";
initContent = ''
[ $TERM = "dumb" ] && unsetopt zle && PS1='$ '