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 cmake
gcc gcc
global global
# irony-server irony-server
]; ];
} }

View File

@ -1,7 +1,9 @@
{ config, pkgs, ... }: { config, lib, pkgs, ... }:
{ let
config.machine.pkgsets.haskell.pkgwrap = (pkgs.haskellPackages.ghcWithPackages (pkgs: config.machine.pkgsets.haskell.pkgs)); 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; [ config.machine.pkgsets.haskell.pkgs = with pkgs.haskellPackages; [
hindent hindent
mtl mtl

View File

@ -1,9 +1,10 @@
{ config, pkgs, ... }: { config, lib, pkgs, ... }:
let let
fn = import ../fn.nix { inherit lib; };
gitpkgs = import /nixpkgs {}; gitpkgs = import /nixpkgs {};
in { 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; [ config.machine.pkgsets.python3.pkgs = with pkgs.python38Packages; [
GitPython GitPython
bpython bpython