File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131 } ;
3232 in
3333 {
34+ formatter = eachSupportedSystem (
35+ system :
36+ let
37+ pkgs = import nixpkgs { inherit system ; } ;
38+ in
39+ pkgs . nixfmt-tree
40+ ) ;
41+
3442 devShells = eachSupportedSystem mkDevShells ;
3543 } ;
3644}
Original file line number Diff line number Diff line change 11# Compatiblity file for non-flake Nix users.
22#
33# <https://github.com/edolstra/flake-compat>
4- ( import
5- (
6- let lock = builtins . fromJSON ( builtins . readFile ./flake.lock ) ; in
7- fetchTarball {
8- url = lock . nodes . flake-compat . locked . url or "https://github.com/edolstra/flake-compat/archive/${ lock . nodes . flake-compat . locked . rev } .tar.gz" ;
9- sha256 = lock . nodes . flake-compat . locked . narHash ;
10- }
11- )
12- { src = ./. ; }
13- ) . shellNix
4+ ( import (
5+ let
6+ lock = builtins . fromJSON ( builtins . readFile ./flake.lock ) ;
7+ in
8+ fetchTarball {
9+ url =
10+ lock . nodes . flake-compat . locked . url
11+ or "https://github.com/edolstra/flake-compat/archive/${ lock . nodes . flake-compat . locked . rev } .tar.gz" ;
12+ sha256 = lock . nodes . flake-compat . locked . narHash ;
13+ }
14+ ) { src = ./. ; } ) . shellNix
You can’t perform that action at this time.
0 commit comments