feat: refactor packages for nicer devux

This commit is contained in:
2026-02-22 12:43:18 +01:00
parent 25735d5bd1
commit b6ae96cb84
5 changed files with 16 additions and 13 deletions

View File

@@ -107,10 +107,17 @@
pkgs = nixpkgs.legacyPackages.${system};
in
{
packages = import ./packages {
inherit my-lib;
inherit (nixpkgs) lib;
} (inputs // { inherit system; });
packages =
import ./packages
{
inherit my-lib;
inherit (nixpkgs) lib;
}
{
pkgs = nixpkgs.legacyPackages.${system};
pkgs-unstable = inputs.nixpkgs-unstable.legacyPackages.${system};
pkgs-master = inputs.nixpkgs-master.legacyPackages.${system};
};
formatter = pkgs.nixfmt-tree;