This commit is contained in:
figsoda 2022-12-30 13:18:27 -05:00
parent ebb431350c
commit b3f6b0de79

View File

@ -6,21 +6,21 @@
outputs = { self, nixpkgs }:
let
inherit (nixpkgs.lib)
genAttrs importTOML licenses makeBinPath maintainers systems;
genAttrs importTOML licenses makeBinPath maintainers;
inherit (importTOML (self + "/Cargo.toml")) package;
in
{
formatter = genAttrs systems.flakeExposed
(system: nixpkgs.legacyPackages.${system}.nixpkgs-fmt);
packages = genAttrs
[
forEachSystem = genAttrs [
"aarch64-darwin"
"aarch64-linux"
"x86_64-darwin"
"x86_64-linux"
]
(system:
];
in
{
formatter = forEachSystem
(system: nixpkgs.legacyPackages.${system}.nixpkgs-fmt);
packages = forEachSystem (system:
let
inherit (nixpkgs.legacyPackages.${system})
gitMinimal makeWrapper mercurial nix rustPlatform;