mirror of
https://github.com/numtide/treefmt.git
synced 2024-10-26 17:30:03 +03:00
904eeff10b
Stable nix users shouldn't have to deal with that long attribute name when they want to install treefmt. Just `nix-build` the project root and you're good to go.
12 lines
332 B
Nix
12 lines
332 B
Nix
{ system ? builtins.currentSystem }:
|
|
let
|
|
flake-compat = builtins.fetchurl {
|
|
url = "https://raw.githubusercontent.com/edolstra/flake-compat/99f1c2157fba4bfe6211a321fd0ee43199025dbf/default.nix";
|
|
sha256 = "1vas5z58901gavy5d53n1ima482yvly405jp9l8g07nr4abmzsyb";
|
|
};
|
|
in
|
|
import flake-compat {
|
|
src = ./.;
|
|
inherit system;
|
|
}
|