From 60e709431cadb739fc97cdcc951ae0de81ae21e2 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Fri, 20 Jun 2025 05:44:00 +0200 Subject: [PATCH] nixpkgs-review --- hosts/default.nix | 2 +- profiles/base/lix.nix | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/hosts/default.nix b/hosts/default.nix index caaff56..f4a2310 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -37,7 +37,7 @@ let (final: prev: { unstable = import inputs.unstable { inherit system; - config = final.pkgs.config; + inherit (final.pkgs) config overlays; }; }) ]; diff --git a/profiles/base/lix.nix b/profiles/base/lix.nix index 31bca36..354e259 100644 --- a/profiles/base/lix.nix +++ b/profiles/base/lix.nix @@ -4,4 +4,22 @@ { nix.package = lib.mkIf (pkgs ? lix) pkgs.lix; + + # this also affect pkgs.unstable which inherits final.pkgs.overlays + nixpkgs.overlays = [ + (final: prev: { + # oc + + nixpkgs-review = prev.nixpkgs-review.override { + nix = prev.lix; + }; + + # pkgs/tools/package-management/lix/default.nix + + nix-direnv = prev.nix-direnv.override { + nix = prev.lix; + }; + }) + ] + ; }