mirror of
https://github.com/Mic92/nix-update.git
synced 2024-09-11 02:25:32 +03:00
flake: limit platforms to evaluate
This commit is contained in:
parent
1c948876a8
commit
de341ecd43
@ -13,7 +13,14 @@
|
|||||||
outputs = inputs @ { flake-parts, ... }:
|
outputs = inputs @ { flake-parts, ... }:
|
||||||
flake-parts.lib.mkFlake { inherit inputs; } ({ lib, ... }: {
|
flake-parts.lib.mkFlake { inherit inputs; } ({ lib, ... }: {
|
||||||
imports = [ ./treefmt.nix ];
|
imports = [ ./treefmt.nix ];
|
||||||
systems = lib.systems.flakeExposed;
|
systems = [
|
||||||
|
"aarch64-linux"
|
||||||
|
"x86_64-linux"
|
||||||
|
"riscv64-linux"
|
||||||
|
|
||||||
|
"x86_64-darwin"
|
||||||
|
"aarch64-darwin"
|
||||||
|
];
|
||||||
perSystem = { config, pkgs, self', ... }: {
|
perSystem = { config, pkgs, self', ... }: {
|
||||||
packages.nix-update = pkgs.callPackage ./. { };
|
packages.nix-update = pkgs.callPackage ./. { };
|
||||||
packages.default = config.packages.nix-update;
|
packages.default = config.packages.nix-update;
|
||||||
|
Loading…
Reference in New Issue
Block a user