flake.nix: fix lib.{build,profiles} args
This commit is contained in:
parent
2ddc9f041b
commit
fd97d941cd
14
flake.nix
14
flake.nix
|
@ -11,18 +11,20 @@
|
||||||
lib.build =
|
lib.build =
|
||||||
{ pkgs ? nixpkgs.legacyPackages.x86_64-linux
|
{ pkgs ? nixpkgs.legacyPackages.x86_64-linux
|
||||||
, openwrt ? openwrt
|
, openwrt ? openwrt
|
||||||
}:
|
, ...
|
||||||
import ./builder.nix {
|
}@args:
|
||||||
|
import ./builder.nix (args // {
|
||||||
inherit pkgs openwrt;
|
inherit pkgs openwrt;
|
||||||
};
|
});
|
||||||
|
|
||||||
lib.profiles =
|
lib.profiles =
|
||||||
{ pkgs ? nixpkgs.legacyPackages.x86_64-linux
|
{ pkgs ? nixpkgs.legacyPackages.x86_64-linux
|
||||||
, release ? "21.02.3"
|
, release ? "21.02.3"
|
||||||
}:
|
, ...
|
||||||
import ./profile.nix {
|
}@args:
|
||||||
|
import ./profiles.nix (args // {
|
||||||
inherit pkgs release;
|
inherit pkgs release;
|
||||||
};
|
});
|
||||||
|
|
||||||
packages.x86_64-linux.profiles-list = import ./profiles-list.nix {
|
packages.x86_64-linux.profiles-list = import ./profiles-list.nix {
|
||||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||||
|
|
Loading…
Reference in New Issue