flake

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

for-each-system-pkgs.nix (294B)


      1 {
      2   nixpkgs,
      3   inputs,
      4   systems,
      5 }:
      6 let
      7   forEachSystem = import ./for-each-system.nix;
      8   getPkgs = import ./get-pkgs.nix { inherit nixpkgs inputs; };
      9 in
     10 f:
     11 (
     12   { system }:
     13   f {
     14     inherit system;
     15     pkgs = getPkgs { inherit system; };
     16   }
     17 )
     18 |> forEachSystem {
     19   inherit nixpkgs systems;
     20 }