diff options
Diffstat (limited to 'overlays')
-rw-r--r-- | overlays/default.nix | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/overlays/default.nix b/overlays/default.nix index 3037a94..cd7a878 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -10,6 +10,15 @@ in { # This one brings our custom packages from the 'pkgs' directory additions = final: _prev: import ../pkgs {pkgs = final;}; + # When applied, the unstable nixpkgs set (declared in the flake inputs) will + # be accessible through 'pkgs.unstable' + unstable-packages = final: _prev: { + unstable = import inputs.nixpkgs-unstable { + system = final.system; + config.allowUnfree = true; + }; + }; + # This one contains whatever you want to overlay # You can change versions, add patches, set compilation flags, anything really. # https://nixos.wiki/wiki/Overlays @@ -30,13 +39,4 @@ in { ] ++ old.buildInputs; }); }; - - # When applied, the unstable nixpkgs set (declared in the flake inputs) will - # be accessible through 'pkgs.unstable' - unstable-packages = final: _prev: { - unstable = import inputs.nixpkgs-unstable { - system = final.system; - config.allowUnfree = true; - }; - }; } |