pkgsets: Use pkgFilter on more pkgsets.
This commit is contained in:
parent
630270f8d0
commit
99b03ba9e1
3 changed files with 9 additions and 6 deletions
|
@ -6,6 +6,6 @@
|
|||
cmake
|
||||
gcc
|
||||
global
|
||||
# irony-server
|
||||
irony-server
|
||||
];
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue