nix: expose packages outside of flake

This commit is contained in:
Primrose 2025-03-04 22:40:03 +01:00
parent c7dae4d2f3
commit 6db7b47947
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
3 changed files with 177 additions and 210 deletions

View file

@ -1,5 +1,5 @@
{
outputs = inputs: let
outputs = {nixpkgs, ...} @ inputs: let
systems = [
"aarch64-darwin"
"aarch64-linux"
@ -29,11 +29,10 @@
// import ./nix/configurations ctx
// import ./nix/deploy ctx
// (let
inherit (import ./nix/packages ctx) packageOverlays packageSets packages;
inherit (import ./nix/overlays ctx) overlays;
packagesOf = system: nixpkgs.legacyPackages.${system}.callPackages ./nix/packages {};
in {
inherit packageSets packages;
overlays = packageOverlays // overlays;
packages = nixpkgs.lib.genAttrs systems packagesOf;
inherit (import ./nix/overlays ctx) overlays;
})
// import ./nix/devShells ctx;