mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
fe656cbe32
Add a rule to .gitignore to exclude .direnv, the name of the temporary directory created by direnv, from the source tree. Commitf0160baa7a
(".envrc: init for new shell.nix") is introduced to the "master" branch, invoking an official .envrc direnv configuration when a developer enters the Nixpkgs source directory. When checking out the stable-release branches, the rule to exclude the temporary directory .direnv got lost from .gitignore, and the temporary directory became visible to source control, creating a risk of polluting the source tree. This patch backports the .gitignore rule against .direnv to the stable release branch and eliminates such risk of pollution. Even though the necessity of .envrc inside the source tree is under debate, the opinions from both sides support the non-negligible use of direct as a developer tool by Nixpkgs contributors, and it would be beneficial to have a .gitignore rule to exclude the corresponding temporary files whether we have an official .envrc or not. Partially backportf0160baa7a
37 lines
524 B
Plaintext
37 lines
524 B
Plaintext
*~
|
|
,*
|
|
.*.swp
|
|
.*.swo
|
|
.\#*
|
|
\#*\#
|
|
.idea/
|
|
.nixos-test-history
|
|
.vscode/
|
|
outputs/
|
|
result-*
|
|
result
|
|
repl-result-*
|
|
tags
|
|
!pkgs/development/python-modules/result
|
|
/doc/NEWS.html
|
|
/doc/NEWS.txt
|
|
/doc/manual.html
|
|
/doc/manual.pdf
|
|
/source/
|
|
.version-suffix
|
|
.direnv
|
|
|
|
.DS_Store
|
|
.mypy_cache
|
|
__pycache__
|
|
|
|
/pkgs/development/libraries/qt-5/*/tmp/
|
|
/pkgs/desktops/kde-5/*/tmp/
|
|
/pkgs/development/mobile/androidenv/xml/*
|
|
|
|
# generated by pkgs/common-updater/update-script.nix
|
|
update-git-commits.txt
|
|
|
|
# JetBrains IDEA module declaration file
|
|
/nixpkgs.iml
|