flake

Francesco Saccone's Nix flake.
git clone git://git.francescosaccone.com/flake
Log | Files | Refs | README | LICENSE

commit 912f204b0fa572a3b01fff67ef100552810ea5e2
parent 2e7f05caebe68c39f077ceea2a04351608e1dbc4
Author: Francesco Saccone <francesco@francescosaccone.com>
Date:   Wed, 19 Mar 2025 16:42:08 +0100

fix: from for-each-system-pkgs pass 'inputs' to get-pkgs

Signed-off-by: Francesco Saccone <francesco@francescosaccone.com>

Diffstat:
Mflake.nix | 2+-
Mlib/for-each-system-pkgs.nix | 6+++---
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/flake.nix b/flake.nix @@ -48,7 +48,7 @@ }; forEachSystemPkgs = import ./lib/for-each-system-pkgs.nix { inherit (inputs) nixpkgs; - inherit systems; + inherit systems inputs; }; makeHost = import ./lib/make-host.nix { inherit (inputs) nixpkgs; diff --git a/lib/for-each-system-pkgs.nix b/lib/for-each-system-pkgs.nix @@ -1,14 +1,14 @@ +{ nixpkgs, inputs, systems }: let forEachSystem = import ./for-each-system.nix; - getPkgs = import ./get-pkgs.nix; + getPkgs = import ./get-pkgs.nix { inherit nixpkgs inputs; }; in -{ nixpkgs, systems }: f: ( { system }: f { inherit system; - pkgs = getPkgs { inherit nixpkgs; } { inherit system; }; + pkgs = getPkgs { inherit system; }; } ) |> forEachSystem {