Skip to content

Commit

Permalink
Simplify listing up platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Oct 16, 2024
1 parent aaa72a0 commit 7818b3e
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,7 @@
outputs =
{ self, nixpkgs }:
let
# Candidates: https://github.com/NixOS/nixpkgs/blob/release-23.11/lib/systems/flake-systems.nix
forAllSystems = nixpkgs.lib.genAttrs [
"x86_64-linux"
"aarch64-linux"
"i686-linux"
"x86_64-darwin"
"aarch64-darwin"
];
forAllSystems = nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed;
in
rec {
formatter = forAllSystems (system: nixpkgs.legacyPackages.${system}.nixfmt-rfc-style);
Expand Down

0 comments on commit 7818b3e

Please sign in to comment.