about summary refs log tree commit diff
path: root/users/wpcarro/tools
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-01-30T16·06+0300
committertazjin <tazjin@tvl.su>2022-01-31T16·11+0000
commitaa122cbae78ce97d60c0c98ba14df753d97e40b1 (patch)
tree12b98d85c4b18fe870feb26de70db9ba61837bd7 /users/wpcarro/tools
parent2d10d60fac0fd00a71b65cfdcb9fba0477b2086c (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 'users/wpcarro/tools')
-rw-r--r--users/wpcarro/tools/monzo_ynab/job.nix3
-rw-r--r--users/wpcarro/tools/monzo_ynab/tokens.nix3
-rw-r--r--users/wpcarro/tools/rfcToKindle/default.nix2
-rw-r--r--users/wpcarro/tools/symlinkManager/default.nix3
-rw-r--r--users/wpcarro/tools/url-blocker/default.nix13
5 files changed, 14 insertions, 10 deletions
diff --git a/users/wpcarro/tools/monzo_ynab/job.nix b/users/wpcarro/tools/monzo_ynab/job.nix
index c2c8baab3b45..f710b73cefdb 100644
--- a/users/wpcarro/tools/monzo_ynab/job.nix
+++ b/users/wpcarro/tools/monzo_ynab/job.nix
@@ -2,7 +2,8 @@
 
 let
   inherit (depot.users.wpcarro) gopkgs;
-in depot.nix.buildGo.program {
+in
+depot.nix.buildGo.program {
   name = "job";
   srcs = [
     ./main.go
diff --git a/users/wpcarro/tools/monzo_ynab/tokens.nix b/users/wpcarro/tools/monzo_ynab/tokens.nix
index b58c272bde02..4e2761bc7882 100644
--- a/users/wpcarro/tools/monzo_ynab/tokens.nix
+++ b/users/wpcarro/tools/monzo_ynab/tokens.nix
@@ -12,7 +12,8 @@ let
       utils
     ];
   };
-in depot.nix.buildGo.program {
+in
+depot.nix.buildGo.program {
   name = "token-server";
   srcs = [
     ./tokens.go
diff --git a/users/wpcarro/tools/rfcToKindle/default.nix b/users/wpcarro/tools/rfcToKindle/default.nix
index 4ea271943950..ca87abdee012 100644
--- a/users/wpcarro/tools/rfcToKindle/default.nix
+++ b/users/wpcarro/tools/rfcToKindle/default.nix
@@ -7,5 +7,5 @@ depot.nix.buildGo.program {
   srcs = [
     ./main.go
   ];
-  deps = [];
+  deps = [ ];
 }
diff --git a/users/wpcarro/tools/symlinkManager/default.nix b/users/wpcarro/tools/symlinkManager/default.nix
index 4e261d730932..7d022828ee97 100644
--- a/users/wpcarro/tools/symlinkManager/default.nix
+++ b/users/wpcarro/tools/symlinkManager/default.nix
@@ -2,7 +2,8 @@
 
 let
   inherit (depot.users.wpcarro) gopkgs;
-in depot.nix.buildGo.program {
+in
+depot.nix.buildGo.program {
   name = "symlink-mgr";
   srcs = [
     ./main.go
diff --git a/users/wpcarro/tools/url-blocker/default.nix b/users/wpcarro/tools/url-blocker/default.nix
index 943644e5f542..ae24aa41b7ca 100644
--- a/users/wpcarro/tools/url-blocker/default.nix
+++ b/users/wpcarro/tools/url-blocker/default.nix
@@ -12,11 +12,11 @@ let
     name = "url-blocker";
     src = builtins.path { path = ./.; name = "url-blocker"; };
     buildPhase = ''
-    ${ghc}/bin/ghc Main.hs
-  '';
+      ${ghc}/bin/ghc Main.hs
+    '';
     installPhase = ''
-    mv ./Main $out
-  '';
+      mv ./Main $out
+    '';
   };
 
   # This is the systemd timer unit.
@@ -26,8 +26,9 @@ let
     systemd = {
       timers.simple-timer = {
         wantedBy = [ "timers.target" ];
-        partOf = [];
+        partOf = [ ];
       };
     };
   };
-in null
+in
+null