pkgsets: Use pkgFilter on more pkgsets.

This commit is contained in:
Kevin Baensch 2020-03-27 20:56:33 +01:00
parent 630270f8d0
commit 99b03ba9e1
Signed by: derped
GPG key ID: C0F1D326C7626543
3 changed files with 9 additions and 6 deletions

View file

@ -1,7 +1,9 @@
{ config, pkgs, ... }:
{ config, lib, pkgs, ... }:
{
config.machine.pkgsets.haskell.pkgwrap = (pkgs.haskellPackages.ghcWithPackages (pkgs: config.machine.pkgsets.haskell.pkgs));
let
fn = import ../fn.nix { inherit lib; };
in {
config.machine.pkgsets.haskell.pkgwrap = (pkgs.haskellPackages.ghcWithPackages (pkgs: (fn.pkgFilter config.machine.pkgsets.haskell.pkgs)));
config.machine.pkgsets.haskell.pkgs = with pkgs.haskellPackages; [
hindent
mtl