mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: expose packages outside of flake
This commit is contained in:
parent
c7dae4d2f3
commit
6db7b47947
3 changed files with 177 additions and 210 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue