mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-08 01:14:01 +01:00
flake: Add formatting support for aarch64
This commit is contained in:
parent
000c9f2d90
commit
c93a5203b7
@ -29,7 +29,7 @@
|
||||
outputs = { self, nixpkgs, mobile-nixos, ... } @ attrs:
|
||||
let
|
||||
inherit (nixpkgs.lib) nixosSystem;
|
||||
inherit (nixpkgs.legacyPackages.x86_64-linux) nixpkgs-fmt callPackage;
|
||||
inherit (nixpkgs.legacyPackages) x86_64-linux aarch64-linux;
|
||||
inherit (builtins) attrNames listToAttrs map replaceStrings readDir;
|
||||
|
||||
flakeOutputs = [ "overlays" "nixosModules" "homeManagerModules" "packages" "checks" ];
|
||||
@ -83,7 +83,8 @@
|
||||
};
|
||||
};
|
||||
|
||||
formatter.x86_64-linux = nixpkgs-fmt;
|
||||
formatter.x86_64-linux = x86_64-linux.nixpkgs-fmt;
|
||||
formatter.aarch64-linux = aarch64-linux.nixpkgs-fmt;
|
||||
} //
|
||||
(listToAttrs
|
||||
(map
|
||||
|
Loading…
Reference in New Issue
Block a user