treefmt/default.nix
Jonas Chevalier 3dc5943e60
fix docs (#94)
* 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.
2021-03-03 13:45:46 +01:00

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!")