11 lines
312 B
Nix
11 lines
312 B
Nix
|
{ self, futils, nixpkgs, ... }:
|
||
|
system:
|
||
|
let
|
||
|
inherit (futils.lib) filterPackages flattenTree;
|
||
|
pkgs = nixpkgs.legacyPackages.${system};
|
||
|
packages = import "${self}/pkgs" { inherit pkgs; };
|
||
|
flattenedPackages = flattenTree packages;
|
||
|
finalPackages = filterPackages system flattenedPackages;
|
||
|
in
|
||
|
finalPackages
|