Adding unstable to pkgs.unstable and try apply it at runtime

This commit is contained in:
2022-12-19 22:42:15 +01:00
parent d52a7295b5
commit c3d6e55a63
5 changed files with 42 additions and 25 deletions

View File

@@ -0,0 +1,8 @@
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