pass nixpkgs directly in forAllSystems, fix typos #2

Merged
getchoo merged 2 commits from pass-pkgs into main 2024-05-02 00:07:56 +00:00
Showing only changes of commit b230995fcc - Show all commits

View file

@ -13,7 +13,7 @@
"aarch64-linux" "aarch64-linux"
"x86_64-darwin" "x86_64-darwin"
"aarch64-darwin" "aarch64-darwin"
] (system: function system); ] (system: function nixpkgs.legacyPackages.${system});
in in
{ {
templates = { templates = {
@ -31,6 +31,6 @@
description = ""; description = "";
}; };
}; };
formatter = forAllSystems (system: nixpkgs.legacyPackages.${system}.nixfmt-rfc-style); formatter = forAllSystems (pkgs: pkgs.nixfmt-rfc-style);
}; };
} }