Commit Graph

29 Commits

Author SHA1 Message Date
Yueh-Shun Li
fe656cbe32 .gitignore: ignore .direnv
Add a rule to .gitignore to exclude .direnv, the name of the temporary
directory created by direnv, from the source tree.

Commit f0160baa7a (".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 backport f0160baa7a
2024-07-13 05:32:46 +08:00
Sandro
aa8dcbf4e2
Merge pull request #263348 from chayleaf/redundant-result 2024-03-11 11:44:37 +01:00
Philip Taron
bafb9ea932
gitignore: ignore tags file 2024-03-02 14:08:55 -08:00
chayleaf
e9162b9250 gitignore: remove redundant /result entry 2023-10-25 21:05:26 +07:00
Majiir Paktu
ba7d343571
gitignore: add .nixos-test-history produced by test driver (#258456) 2023-10-01 22:44:49 +02:00
Artturin
d44cf611fb gitignore: Add symlinks produced by :bl in repl 2023-08-04 02:29:48 +03:00
laalsaas
e691cae38e gitignore: add emacs "swap files" 2022-10-31 18:00:22 +01:00
EvanPiro
006ed159b5 .gitignore: add result ignore, accept python module 2022-09-16 14:20:15 -04:00
yuu
2300d8312d
.gitignore: prepend slash to result and source
so that it matches only in the repository root.

Co-authored-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
Co-authored-by: Milan Hauth <milahu@gmail.com>
2022-06-10 08:17:12 -03:00
Max Niederman
ec3a993710
gitignore: add .vscode/ 2021-12-31 12:26:20 -08:00
Artturi
77dc4eecc2
Merge pull request #146607 from l0b0/root/ignore-default-jetbrains-idea-module-configuration 2021-12-04 04:35:54 +02:00
Victor Engmark
a624615754 root: Ignore default JetBrains IDEA module configuration 2021-11-23 20:30:11 +13:00
yuu
b3b25bf602
gitignore: add outputs/ and source/
In nix develop, When running unpackPhase, and installPhase in nixpkgs,
the directories outputs/ and source/ are created.
2021-11-17 14:43:45 -03:00
Victor Engmark
0afd6fe4cb chore: Ignore JetBrains IDEA configuration 2021-08-30 13:51:57 +12:00
Frederik Rietdijk
a653b54dba git ignore __pycache__ folders 2020-08-16 11:30:11 +02:00
José Romildo Malaquias
a097de3e73 common-updater-scripts: ignore update-git-commits.txt
It is generated by common-updater/update-script.nix
2020-04-15 09:45:25 -03:00
Cole Mickens
53dc9d6751 pythonPackages.roku: init at v4.1 2020-03-30 21:22:36 +00:00
Sander van der Burg
74750dc67d Replace androidenv by new implementation 2018-12-18 21:16:06 +01:00
Thomas Tuegel
98d8e1a160 kde5: consolidate packages into desktops/kde-5 2016-03-01 10:36:00 -06:00
Thomas Tuegel
7a180b7706 gitignore: pkgs/development/libraries/qt-5/*/tmp/ 2015-02-21 11:39:20 -06:00
Thomas Tuegel
042e4ad633 qt5split: add split submodule build of Qt 5.3 2015-02-07 12:52:20 -06:00
Thomas Tuegel
05e5bd4e3a gitignore: ignore autonix tmp files 2015-01-26 20:59:52 -06:00
Daniel Peebles
a1d4f7cdd5 Add .DS_Store to gitignore so we Mac users don't accidentally pollute nixpkgs with ugliness 2014-08-09 20:53:36 -04:00
Florian Friesdorf
ffe12f82ce gitignore: result-* and make absolute doc ignores 2014-06-23 16:58:49 +02:00
Eelco Dolstra
95c98166ec Merge .gitignore files 2013-10-10 13:28:22 +02:00
Eelco Dolstra
629daa2102 Rewrite the CPAN generator to Perl
Also:

- It's now installable by doing "nix-env -i nix-generate-from-cpan".

- It maps dependencies to the correct attribute (e.g. HTML::HeadParser
  is mapped to HTMLParser).

- It automatically selects buildPerlPackage or buildPerlModule.

- It's documented in the manual.
2013-06-13 15:56:23 +02:00
Shea Levy
0866ec1aa7 Add the nix-build `result' symlink and cpan files to gitignore
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-03-28 09:52:27 -04:00
Michael Raskin
6b6a23c1aa Tell git to ignore .*.swp - Vim swap files 2012-10-04 11:27:57 +04:00
Ludovic Courtès
50d9f2300a add `.gitignore' 2012-07-07 13:56:29 +02:00