summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-02-23 16:58:00 -0600
committerMatthew Bauer <mjbauer95@gmail.com>2018-02-23 16:58:00 -0600
commitaf1f5676c9190a9e6f92f0e62b49e515699c9b41 (patch)
tree31de0cef917ee202b180ff45254d8f287fbb3fa5 /.gitattributes
parentbcc: add systemtap dep, and fix build revision (diff)
downloadnixpkgs-af1f5676c9190a9e6f92f0e62b49e515699c9b41.tar.gz
Add .gitattributes file
This adds the .gitattributes file to the tree. I’ve added two attributes: linguist-generated, and linguist-documentation. GitHub’s Linguist will follow this when calculating our language stats as well as in other cases like commit diffs. Any additional attributes or other generated files are welcome to be added!
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes13
1 files changed, 13 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 000000000000..a636295ebd67
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,13 @@
+**/deps.nix linguist-generated
+**/node-packages.nix linguist-generated
+
+pkgs/applications/editors/emacs-modes/*-generated.nix linguist-generated
+pkgs/development/r-modules/*-packages.nix linguist-generated
+pkgs/development/haskell-modules/hackage-packages.nix linguist-generated
+pkgs/development/beam-modules/hex-packages.nix linguist-generated
+
+doc/** linguist-documentation
+doc/default.nix linguist-documentation=false
+
+nixos/doc/** linguist-documentation
+nixos/doc/default.nix linguist-documentation=false