1**/deps.nix linguist-generated
2**/deps.json linguist-generated
3**/deps.toml linguist-generated
4**/node-packages.nix linguist-generated
5
6pkgs/applications/editors/emacs-modes/*-generated.nix linguist-generated
7pkgs/development/r-modules/*-packages.nix linguist-generated
8pkgs/development/haskell-modules/hackage-packages.nix linguist-generated
9pkgs/development/beam-modules/hex-packages.nix linguist-generated
10
11doc/** linguist-documentation
12doc/default.nix linguist-documentation=false
13
14nixos/doc/** linguist-documentation
15nixos/doc/default.nix linguist-documentation=false
16
17nixos/modules/module-list.nix merge=union
18# pkgs/top-level/all-packages.nix merge=union
19
20ci/OWNERS linguist-language=CODEOWNERS
21
22# Avoid munging line endings when using Git for Windows, and instead keep files
23# using LF line endings. This particularly affects scripts committed in the
24# nixpkgs repository.
25#
26# - `text` without `=auto` would mean "Git should always munge line endings on
27# this file so there will never be a CRLF in the repository, and the line
28# endings in the working directory should respect the local Git
29# configuration."
30# - `text=auto` means "Git should try to work out if this file is a text file.
31# If it is, it should do the line-ending munging as for `text`, and if it
32# isn't, it should leave the file alone."
33# - `eol=lf` means "Ignore any local configuration about how line
34# endings normally work on this platform. This file should always and only
35# have LF line endings in the repo (so if there's a CR in the repo, it's
36# meant to be there in addition to any end-of-line mark), and the selected
37# attribute is how the file should appear in the working directory."
38#
39# See https://github.com/NixOS/nixpkgs/issues/423762 for historical context.
40* text=auto eol=lf
41
42# Don't force LF line endings for diff/patch files, as they might be correctly
43# patching CRLF line endings from an upstream source package.
44*.diff !text !eol
45*.patch !text !eol