From e1e1dfcaedbd9c6920fb111a81edb196fa6049fb Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 28 May 2026 14:20:39 +0200 Subject: treewide: Use unflake to de-duplicate flake inputs Otherwise, we still have a lot of `nixpkgs` in the closure (they are just not visible with npins). --- npins/full.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'npins/full.nix') diff --git a/npins/full.nix b/npins/full.nix index 71540c0f..547b32cf 100644 --- a/npins/full.nix +++ b/npins/full.nix @@ -1,8 +1,10 @@ _: let - sources = import ./default.nix {}; -in { - inherit sources; + sources = import ../unflake.nix; + load = input: sources."${input}"; + loadFlake = load; - loadFlake = flakeInput: (import sources.flake-compat {src = sources."${flakeInput}";}).outputs; - load = input: import sources."${input}" {}; + # loadFlake = flakeInput: (import sources.flake-compat {src = sources."${flakeInput}";}).outputs; + # load = input: import sources."${input}" {}; +in { + inherit sources load loadFlake; } -- cgit 1.4.1