flake: Simplify packages function

This commit is contained in:
Alexander Kobjolke 2023-08-24 21:04:50 +02:00
parent 8f76ec738e
commit eeac31df24

View file

@ -62,8 +62,7 @@
devShells.default = haskellPackages.shellFor { devShells.default = haskellPackages.shellFor {
inherit (self.checks.${system}.pre-commit-check) shellHook; inherit (self.checks.${system}.pre-commit-check) shellHook;
packages = _: packages = _: [ self.packages.${system}.default ];
pkgs.lib.filter (x: x != null) [ self.packages.${system}.default ];
withHoogle = true; withHoogle = true;