Browse Source

Autoformat default.nix

Samuel W. Flint 4 years ago
parent
commit
09b33f6c84
1 changed files with 34 additions and 30 deletions
  1. 34 30
      default.nix

+ 34 - 30
default.nix

@@ -1,40 +1,44 @@
-{ nixpkgs ? import <nixpkgs>{} }:
+{ nixpkgs ? import <nixpkgs> {} }:
 
 with nixpkgs;
 
 stdenv.mkDerivation rec {
   name = "open-cookbook";
-  src =  ./.;
+
+  src = ./.;
+
   buildInputs = [
     git
-    (texlive.combine {
-      inherit (texlive)
-        # Basic Packages
-        scheme-small
-
-        # Specifically used
-        latexmk
-        booktabs
-        units
-        changepage
-        hyperxmp
-        doclicense
-        glossaries
-
-
-        # Un-handled dependencies
-        ifmtarg
-        xifthen
-        xfor
-        substr
-        etoolbox
-        mfirstuc
-        datatool
-        textcase
-        csquotes
-        ccicons
-      ;
-    })
+    (
+      texlive.combine {
+        inherit (texlive)
+          # Basic Packages
+          scheme-small
+
+          # Specifically used
+          latexmk
+          booktabs
+          units
+          changepage
+          hyperxmp
+          doclicense
+          glossaries
+
+
+          # Un-handled dependencies
+          ifmtarg
+          xifthen
+          xfor
+          substr
+          etoolbox
+          mfirstuc
+          datatool
+          textcase
+          csquotes
+          ccicons
+          ;
+      }
+    )
   ];
 
   buildPhase = "make";