From df1ecf6de4d1d1f447a455c04e6d2c6feffdb3c4 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sun, 25 Aug 2024 03:57:33 -0700 Subject: [PATCH] overlays: refactor and fix error --- overlays/default.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/overlays/default.nix b/overlays/default.nix index 7397f33..219bff5 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -1,7 +1,14 @@ -{inputs, ...}: { +{ + inputs, + pkgs, + ... +}: let + stablepkgs = inputs.stablepkgs.legacyPackages.${pkgs.system}; + bleedingpkgs = inputs.bleedingpkgs.legacyPackages.${pkgs.system}; +in { nixpkgs.overlays = [ (self: super: { - librewolf = inputs.stablepkgs.${self.system}.librewolf; + librewolf = stablepkgs.librewolf; }) ]; }