jungle/overlays-compat/overlays.nix

9 lines
283 B
Nix
Raw Normal View History

2023-04-03 12:51:44 +02:00
self: super:
with super.lib;
let
# Load the system config and get the `nixpkgs.overlays` option
overlays = (import <nixpkgs/nixos> { }).config.nixpkgs.overlays;
in
# Apply all overlays to the input of the current "main" overlay
foldl' (flip extends) (_: super) overlays self