From fd97d941cd934f60c00c42c35525cd31a9688371 Mon Sep 17 00:00:00 2001 From: Astro Date: Thu, 28 Apr 2022 23:51:14 +0200 Subject: [PATCH] flake.nix: fix lib.{build,profiles} args --- flake.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index f72568d..46daa75 100644 --- a/flake.nix +++ b/flake.nix @@ -11,18 +11,20 @@ lib.build = { pkgs ? nixpkgs.legacyPackages.x86_64-linux , openwrt ? openwrt - }: - import ./builder.nix { + , ... + }@args: + import ./builder.nix (args // { inherit pkgs openwrt; - }; + }); lib.profiles = { pkgs ? nixpkgs.legacyPackages.x86_64-linux , release ? "21.02.3" - }: - import ./profile.nix { + , ... + }@args: + import ./profiles.nix (args // { inherit pkgs release; - }; + }); packages.x86_64-linux.profiles-list = import ./profiles-list.nix { pkgs = nixpkgs.legacyPackages.x86_64-linux;