treefmt/flake-compat.nix
zimbatm 904eeff10b
nix: better stable nix support
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.
2021-03-01 18:26:26 +01:00

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;
}