mirror of
https://github.com/divnix/digga.git
synced 2024-12-23 08:02:21 +03:00
use realChannel instead
This commit is contained in:
parent
c8eb0a6388
commit
41f5b9f9c8
@ -41,7 +41,13 @@ let
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
unifyOverlays = channels: map (o: if builtins.isFunction (o null null) then o channels else o);
|
unifyOverlays = channels:
|
||||||
|
let
|
||||||
|
getChannel = inputs."${channelName}".legacyPackages."${system}";
|
||||||
|
system = config.nixos.hostDefaults.system;
|
||||||
|
channelName = config.nixos.hostDefaults.channelName;
|
||||||
|
in
|
||||||
|
map (o: if builtins.isFunction (o getChannel getChannel) then o channels else o);
|
||||||
|
|
||||||
stripChannel = channel: removeAttrs channel [
|
stripChannel = channel: removeAttrs channel [
|
||||||
# arguments in our channels api that shouldn't be passed to fup
|
# arguments in our channels api that shouldn't be passed to fup
|
||||||
|
Loading…
Reference in New Issue
Block a user