This CL can be used to compare the style of nixpkgs-fmt against other formatters (nixpkgs, alejandra). Change-Id: I87c6abff6bcb546b02ead15ad0405f81e01b6d9e Reviewed-on: https://cl.tvl.fyi/c/depot/+/4397 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: wpcarro <wpcarro@gmail.com> Reviewed-by: Profpatsch <mail@profpatsch.de> Reviewed-by: kanepyork <rikingcoding@gmail.com> Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: cynthia <cynthia@tvl.fyi> Reviewed-by: edef <edef@edef.eu> Reviewed-by: eta <tvl@eta.st> Reviewed-by: grfn <grfn@gws.fyi>
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			930 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			930 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| { pkgs, ... }:
 | |
| 
 | |
| let
 | |
|   # binary releases of dhall tools, since the build in nixpkgs is
 | |
|   # broken most of the time. The binaries are also fully static
 | |
|   # builds, instead of the half-static crap that nixpkgs produces.
 | |
|   easy-dhall-nix =
 | |
|     import
 | |
|       (builtins.fetchTarball {
 | |
|         url = "https://github.com/justinwoo/easy-dhall-nix/archive/eae7f64c4d6c70681e5a56c84198236930ba425e.tar.gz";
 | |
|         sha256 = "1y2x15v8a679vlpxazjpibfwajp6zph60f8wjcm4xflbvazk0dx7";
 | |
|       })
 | |
|       { inherit pkgs; };
 | |
| in
 | |
| {
 | |
|   dhall = easy-dhall-nix.dhall-simple;
 | |
|   dhall-bash = easy-dhall-nix.dhall-bash-simple;
 | |
|   dhall-docs = easy-dhall-nix.dhall-docs-simple;
 | |
|   dhall-json = easy-dhall-nix.dhall-json-simple;
 | |
|   dhall-lsp-server = easy-dhall-nix.dhall-lsp-simple;
 | |
|   dhall-nix = easy-dhall-nix.dhall-nix-simple;
 | |
|   # not yet in dhall-simple
 | |
|   # dhall-nixpkgs = easy-dhall-nix.dhall-nixpkgs-simple;
 | |
|   dhall-yaml = easy-dhall-nix.dhall-yaml-simple;
 | |
| }
 |