Compare commits
No commits in common. "4a1eb8d3f9c6c9297e50ce77301cba59af846130" and "3139bab32f046e8f43e4c263d05bbc91b4bebbe3" have entirely different histories.
4a1eb8d3f9
...
3139bab32f
1 changed files with 43 additions and 54 deletions
15
flake.nix
15
flake.nix
|
@ -24,19 +24,16 @@
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
corepack_latest
|
corepack_latest
|
||||||
nodejs
|
nodejs
|
||||||
cargo
|
|
||||||
clippy
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
packages = forSystems (
|
formatter = forSystems (
|
||||||
system:
|
system:
|
||||||
let
|
let
|
||||||
pkgs = pkgs' system;
|
pkgs = pkgs' system;
|
||||||
in
|
in
|
||||||
{
|
pkgs.treefmt.withConfig {
|
||||||
fmt = pkgs.treefmt.withConfig {
|
|
||||||
runtimeInputs = with pkgs; [
|
runtimeInputs = with pkgs; [
|
||||||
nixfmt-rfc-style
|
nixfmt-rfc-style
|
||||||
nodePackages.prettier
|
nodePackages.prettier
|
||||||
|
@ -78,15 +75,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
formatter = forSystems (
|
|
||||||
system:
|
|
||||||
let
|
|
||||||
pkgs = pkgs' system;
|
|
||||||
in
|
|
||||||
self.outputs.packages.${system}.fmt
|
|
||||||
);
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue