flake: move 'packages' to 'flake/'
This commit is contained in:
parent
1ae2bca445
commit
40fff4b13a
2 changed files with 11 additions and 11 deletions
10
flake/packages.nix
Normal file
10
flake/packages.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue