diff options
author | Vincent Ambo <mail@tazj.in> | 2022-01-30T16·06+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-01-31T16·11+0000 |
commit | aa122cbae78ce97d60c0c98ba14df753d97e40b1 (patch) | |
tree | 12b98d85c4b18fe870feb26de70db9ba61837bd7 /tvix | |
parent | 2d10d60fac0fd00a71b65cfdcb9fba0477b2086c (diff) |
style: format entire depot with nixpkgs-fmt r/3723
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>
Diffstat (limited to 'tvix')
-rw-r--r-- | tvix/default.nix | 4 | ||||
-rw-r--r-- | tvix/docs/default.nix | 9 | ||||
-rw-r--r-- | tvix/proto/default.nix | 2 | ||||
-rw-r--r-- | tvix/shell.nix | 5 |
4 files changed, 11 insertions, 9 deletions
diff --git a/tvix/default.nix b/tvix/default.nix index 82cd87cda452..fb4b367ecb6f 100644 --- a/tvix/default.nix +++ b/tvix/default.nix @@ -1,2 +1,2 @@ -{...}: -{} +{ ... }: +{ } diff --git a/tvix/docs/default.nix b/tvix/docs/default.nix index 4b09f8d2dae2..016d641df59f 100644 --- a/tvix/docs/default.nix +++ b/tvix/docs/default.nix @@ -4,9 +4,9 @@ let tl = pkgs.texlive.combine { inherit (pkgs.texlive) scheme-medium wrapfig ulem capt-of - titlesec preprint enumitem paralist ctex environ svg - beamer trimspaces zhnumber changepage framed pdfpages - fvextra minted upquote ifplatform xstring; + titlesec preprint enumitem paralist ctex environ svg + beamer trimspaces zhnumber changepage framed pdfpages + fvextra minted upquote ifplatform xstring; }; csl = pkgs.fetchurl { @@ -15,7 +15,8 @@ let sha256 = "1yfhhnhbzvhrv93baz98frmgsx5y442nzhb0l956l4j35fb0cc3h"; }; -in pkgs.stdenv.mkDerivation { +in +pkgs.stdenv.mkDerivation { pname = "tvix-doc"; version = "0.1"; diff --git a/tvix/proto/default.nix b/tvix/proto/default.nix index 7ff03ba3b74f..ac0ee66e8720 100644 --- a/tvix/proto/default.nix +++ b/tvix/proto/default.nix @@ -3,7 +3,7 @@ # anywhere, it just functions as a CI check for now. { pkgs, ... }: -pkgs.runCommandNoCC "tvix-cc-proto" {} '' +pkgs.runCommandNoCC "tvix-cc-proto" { } '' mkdir $out ${pkgs.protobuf}/bin/protoc -I ${./.} evaluator.proto --cpp_out=$out '' diff --git a/tvix/shell.nix b/tvix/shell.nix index 600d96d76d28..f57019cd94a4 100644 --- a/tvix/shell.nix +++ b/tvix/shell.nix @@ -1,8 +1,9 @@ let - depot = (import ./.. {}); + depot = (import ./.. { }); pkgs = depot.third_party.nixpkgs; -in pkgs.mkShell { +in +pkgs.mkShell { buildInputs = [ pkgs.rustup pkgs.rust-analyzer |