fix: actually load fetcher.outputs

This commit is contained in:
Yusuf Bera Ertan 2022-10-04 15:45:34 +03:00
parent b383b65ab7
commit 5d8fd5e82d
No known key found for this signature in database
GPG Key ID: 1D8F8FAF2294D6EA

View File

@ -1,4 +1,5 @@
{
callPackageDream,
dlib,
lib,
...
@ -19,8 +20,13 @@
inherit dlib lib;
}
);
load = fetcher:
fetcher
// {
outputs = callPackageDream fetcher.outputs {};
};
in {
config = {
fetchers = fetcherModules;
fetchers = l.mapAttrs (_: fetcher: load fetcher) fetcherModules;
};
}