Move fn functions to system specialArgs.

This commit is contained in:
Kevin Baensch 2023-08-28 21:52:46 +02:00
parent b73ea3b5de
commit b2da82bff1
Signed by: derped
GPG key ID: C0F1D326C7626543
9 changed files with 12 additions and 24 deletions

View file

@ -1,11 +1,8 @@
{ config, lib, pkgs, ... }:
{ config, lib, fn, pkgs, ... }:
with lib;
let
fn = import ../fn.nix { inherit lib; };
# ocv3 = pkgs.python38Packages.opencv3.override { enableGtk2 = true; enableFfmpeg = true; enableGStreamer = true; };
in {
{
config.machine.pkgsets.python3.pkgwrap = (pkgs.python310.withPackages (ps: (fn.pkgFilter config.machine.pkgsets.python3.pkgs)));
config.machine.pkgsets.python3.pkgs = with pkgs.python310Packages; [
GitPython