mirror of
https://github.com/numtide/treefmt.git
synced 2024-10-26 17:30:03 +03:00
3dc5943e60
* nix: simplify the code a bit * docs: fix the website Make the paths relative so they work on GitHub Pages. Fix the landing page overriding the docs. Put the docs in the right sub-folder.
9 lines
239 B
Nix
9 lines
239 B
Nix
{ system ? builtins.currentSystem }:
|
|
let
|
|
flake-compat = import ./flake-compat.nix {
|
|
inherit system;
|
|
};
|
|
in
|
|
flake-compat.defaultNix.packages.${system} or
|
|
(throw "The system '${system}' is not supported. Please open an issue!")
|