expose packages output, add it to global nixpkgs

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
2025-03-03 00:47:51 -05:00
parent 0076dc6aaa
commit 343aee5d60
3 changed files with 17 additions and 7 deletions

View File

@ -1,4 +1,9 @@
{ lib, pkgs, ... }:
{
lib,
pkgs,
outputs,
...
}:
{
nix = {
package = pkgs.nixVersions.latest;
@ -46,4 +51,11 @@
dates = [ "01:00" ];
};
};
nixpkgs.overlays = [
(_: _: {
# bring all packages into a namespace called rad-pkgs
rad-pkgs = lib.genAttrs (lib.attrNames outputs.packages) (pkg: outputs.packages.${pkg});
})
];
}