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 { pre-commit-check = pre-commit-hooks.lib.${system}.run {
src = ./.; src = ./.;
tools.fourmolu = pkgs.haskellPackages.fourmolu; tools.fourmolu = pkgs.haskellPackages.fourmolu;
tools.nixfmt = pkgs.nixfmt-rfc-style; tools.nixfmt = pkgs.nixfmt;
hooks = { hooks = {
nixfmt-rfc-style.enable = true; nixfmt.enable = true;
fourmolu.enable = true; fourmolu.enable = true;
hpack.enable = true; hpack.enable = true;
hlint.enable = true; hlint.enable = true;
@ -143,7 +143,7 @@
inherit (self.checks.${system}.pre-commit-check) shellHook; inherit (self.checks.${system}.pre-commit-check) shellHook;
packages = with pkgs; [ packages = with pkgs; [
nixfmt-rfc-style nixfmt
nil nil
]; ];
}; };

View file

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

View file

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