mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
ref(nix)!: reorganize overlays
fix the issue where exported modules can't find exported packages
This commit is contained in:
parent
87c9090ebe
commit
871d6ed1d3
3 changed files with 196 additions and 189 deletions
|
|
@ -1,4 +1,9 @@
|
|||
{ inputs, lib, ... }:
|
||||
{
|
||||
inputs,
|
||||
lib,
|
||||
self,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
|
||||
|
|
@ -35,10 +40,8 @@
|
|||
disko
|
||||
;
|
||||
};
|
||||
in
|
||||
{
|
||||
|
||||
default = lib.composeManyExtensions [
|
||||
reexports = [
|
||||
externPackages
|
||||
|
||||
inputs.nur.overlays.default
|
||||
|
|
@ -46,7 +49,14 @@
|
|||
|
||||
inputs.hoot.overlays.default
|
||||
];
|
||||
|
||||
in
|
||||
{
|
||||
default = lib.composeManyExtensions (
|
||||
reexports
|
||||
# Scope my overlay
|
||||
++ [ (final: prev: { myPkgs = self.overlays.packages final prev; }) ]
|
||||
);
|
||||
reexports = lib.composeManyExtensions reexports;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue