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
|
cmake
|
||||||
gcc
|
gcc
|
||||||
global
|
global
|
||||||
# irony-server
|
irony-server
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue