1
0
Fork 0

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

@ -6,6 +6,6 @@
cmake
gcc
global
# irony-server
irony-server
];
}

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

View File

@ -1,9 +1,10 @@
{ config, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
fn = import ../fn.nix { inherit lib; };
gitpkgs = import /nixpkgs {};
in {
config.machine.pkgsets.python3.pkgwrap = (pkgs.python38Full.withPackages (ps: with ps; config.machine.pkgsets.python3.pkgs));
config.machine.pkgsets.python3.pkgwrap = (pkgs.python38Full.withPackages (ps: with ps; (fn.pkgFilter config.machine.pkgsets.python3.pkgs)));
config.machine.pkgsets.python3.pkgs = with pkgs.python38Packages; [
GitPython
bpython