From 791b95cd71cc2184e7c83e8a297c808eacab2ed5 Mon Sep 17 00:00:00 2001 From: Jakub Trzeciak Date: Sat, 21 Oct 2023 11:35:42 +0200 Subject: Heroic Launcher 🫠 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- overlays/default.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'overlays/default.nix') 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; - }; - }; } -- cgit v1.2.3