forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from NixOS/master
Sync with upstream
- Loading branch information
Showing
16,685 changed files
with
1,028,791 additions
and
906,254 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# EditorConfig configuration for nixpkgs | ||
# http://EditorConfig.org | ||
|
||
# Top-most EditorConfig file | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file, utf-8 charset | ||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
charset = utf-8 | ||
|
||
# see https://nixos.org/nixpkgs/manual/#chap-conventions | ||
|
||
# Match nix/ruby/docbook files, set indent to spaces with width of two | ||
[*.{nix,rb,xml}] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
# Match shell/python/perl scripts, set indent to spaces with width of four | ||
[*.{sh,py,pl}] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
# Match diffs, avoid to trim trailing whitespace | ||
[*.{diff,patch}] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
**/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 | ||
|
||
nixos/modules/module-list.nix merge=union | ||
# pkgs/top-level/all-packages.nix merge=union |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
# CODEOWNERS file | ||
# | ||
# This file is used to describe who owns what in this repository. This file does not | ||
# replace `meta.maintainers` but is instead used for other things than derivations | ||
# and modules, like documentation, package sets, and other assets. | ||
# | ||
# For documentation on this file, see https://help.github.com/articles/about-codeowners/ | ||
# Mentioned users will get code review requests. | ||
|
||
# This file | ||
/.github/CODEOWNERS @edolstra | ||
|
||
# Libraries | ||
/lib @edolstra @nbp | ||
/lib/systems @nbp @ericson2314 | ||
/lib/generators.nix @edolstra @nbp @Profpatsch | ||
/lib/debug.nix @edolstra @nbp @Profpatsch | ||
|
||
# Nixpkgs Internals | ||
/default.nix @nbp | ||
/pkgs/top-level/default.nix @nbp @Ericson2314 | ||
/pkgs/top-level/impure.nix @nbp @Ericson2314 | ||
/pkgs/top-level/stage.nix @nbp @Ericson2314 | ||
/pkgs/stdenv | ||
/pkgs/build-support/cc-wrapper @Ericson2314 @orivej | ||
/pkgs/build-support/bintools-wrapper @Ericson2314 @orivej | ||
/pkgs/build-support/setup-hooks @Ericson2314 | ||
|
||
# NixOS Internals | ||
/nixos/default.nix @nbp | ||
/nixos/lib/from-env.nix @nbp | ||
/nixos/lib/eval-config.nix @nbp | ||
/nixos/doc/manual/configuration/abstractions.xml @nbp | ||
/nixos/doc/manual/configuration/config-file.xml @nbp | ||
/nixos/doc/manual/configuration/config-syntax.xml @nbp | ||
/nixos/doc/manual/configuration/modularity.xml @nbp | ||
/nixos/doc/manual/development/assertions.xml @nbp | ||
/nixos/doc/manual/development/meta-attributes.xml @nbp | ||
/nixos/doc/manual/development/option-declarations.xml @nbp | ||
/nixos/doc/manual/development/option-def.xml @nbp | ||
/nixos/doc/manual/development/option-types.xml @nbp | ||
/nixos/doc/manual/development/replace-modules.xml @nbp | ||
/nixos/doc/manual/development/writing-modules.xml @nbp | ||
/nixos/doc/manual/man-nixos-option.xml @nbp | ||
/nixos/modules/installer/tools/nixos-option.sh @nbp | ||
|
||
# Python-related code and docs | ||
/maintainers/scripts/update-python-libraries @FRidh | ||
/pkgs/top-level/python-packages.nix @FRidh | ||
/pkgs/development/interpreters/python @FRidh | ||
/pkgs/development/python-modules @FRidh | ||
/doc/languages-frameworks/python.md @FRidh | ||
|
||
# Haskell | ||
/pkgs/development/compilers/ghc @peti | ||
/pkgs/development/haskell-modules @peti | ||
/pkgs/development/haskell-modules/default.nix @peti | ||
/pkgs/development/haskell-modules/generic-builder.nix @peti | ||
/pkgs/development/haskell-modules/hoogle.nix @peti | ||
|
||
# R | ||
/pkgs/applications/science/math/R @peti | ||
/pkgs/development/r-modules @peti | ||
|
||
# Ruby | ||
/pkgs/development/interpreters/ruby @zimbatm | ||
/pkgs/development/ruby-modules @zimbatm | ||
|
||
# Rust | ||
/pkgs/development/compilers/rust @Mic92 @LnL7 | ||
|
||
# Darwin-related | ||
/pkgs/stdenv/darwin @NixOS/darwin-maintainers | ||
/pkgs/os-specific/darwin @NixOS/darwin-maintainers | ||
|
||
# Beam-related (Erlang, Elixir, LFE, etc) | ||
/pkgs/development/beam-modules @gleber | ||
/pkgs/development/interpreters/erlang @gleber | ||
/pkgs/development/interpreters/lfe @gleber | ||
/pkgs/development/interpreters/elixir @gleber | ||
/pkgs/development/tools/build-managers/rebar @gleber | ||
/pkgs/development/tools/build-managers/rebar3 @gleber | ||
/pkgs/development/tools/erlang @gleber | ||
|
||
# Jetbrains | ||
/pkgs/applications/editors/jetbrains @edwtjo | ||
|
||
# Eclipse | ||
/pkgs/applications/editors/eclipse @rycee | ||
|
||
# https://github.com/NixOS/nixpkgs/issues/31401 | ||
/lib/licenses.nix @ghost | ||
|
||
# Qt / KDE | ||
/pkgs/applications/kde @ttuegel | ||
/pkgs/desktops/plasma-5 @ttuegel | ||
/pkgs/development/libraries/kde-frameworks @ttuegel | ||
/pkgs/development/libraries/qt-5 @ttuegel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# How to contribute | ||
|
||
Note: contributing implies licensing those contributions | ||
under the terms of [COPYING](../COPYING), which is an MIT-like license. | ||
|
||
## Opening issues | ||
|
||
* Make sure you have a [GitHub account](https://github.com/signup/free) | ||
* [Submit an issue](https://github.com/NixOS/nixpkgs/issues) - assuming one does not already exist. | ||
* Clearly describe the issue including steps to reproduce when it is a bug. | ||
* Include information what version of nixpkgs and Nix are you using (nixos-version or git revision). | ||
|
||
## Submitting changes | ||
|
||
* Format the commit messages in the following way: | ||
|
||
``` | ||
(pkg-name | nixos/<module>): (from -> to | init at version | refactor | etc) | ||
(Motivation for change. Additional information.) | ||
``` | ||
|
||
Examples: | ||
|
||
* nginx: init at 2.0.1 | ||
* firefox: 54.0.1 -> 55.0 | ||
* nixos/hydra: add bazBaz option | ||
|
||
Dual baz behavior is needed to do foo. | ||
* nixos/nginx: refactor config generation | ||
|
||
The old config generation system used impure shell scripts and could break in specific circumstances (see #1234). | ||
|
||
* `meta.description` should: | ||
* Be capitalized. | ||
* Not start with the package name. | ||
* Not have a period at the end. | ||
* `meta.license` must be set and fit the upstream license. | ||
* If there is no upstream license, `meta.license` should default to `stdenv.lib.licenses.unfree`. | ||
* `meta.maintainers` must be set. | ||
|
||
See the nixpkgs manual for more details on [standard meta-attributes](https://nixos.org/nixpkgs/manual/#sec-standard-meta-attributes) and on how to [submit changes to nixpkgs](https://nixos.org/nixpkgs/manual/#chap-submitting-changes). | ||
|
||
## Writing good commit messages | ||
|
||
In addition to writing properly formatted commit messages, it's important to include relevant information so other developers can later understand *why* a change was made. While this information usually can be found by digging code, mailing list archives, pull request discussions or upstream changes, it may require a lot of work. | ||
|
||
For package version upgrades and such a one-line commit message is usually sufficient. | ||
|
||
## Reviewing contributions | ||
|
||
See the nixpkgs manual for more details on how to [Review contributions](https://nixos.org/nixpkgs/manual/#sec-reviewing-contributions). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
## Issue description | ||
|
||
|
||
|
||
### Steps to reproduce | ||
|
||
|
||
|
||
## Technical details | ||
|
||
Please run `nix-shell -p nix-info --run "nix-info -m"` and paste the | ||
results. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
###### Motivation for this change | ||
|
||
|
||
###### Things done | ||
|
||
<!-- Please check what applies. Note that these are not hard requirements but merely serve as information for reviewers. --> | ||
|
||
- [ ] Tested using sandboxing ([nix.useSandbox](http://nixos.org/nixos/manual/options.html#opt-nix.useSandbox) on NixOS, or option `sandbox` in [`nix.conf`](http://nixos.org/nix/manual/#sec-conf-file) on non-NixOS) | ||
- Built on platform(s) | ||
- [ ] NixOS | ||
- [ ] macOS | ||
- [ ] other Linux distributions | ||
- [ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside [nixos/tests](https://github.com/NixOS/nixpkgs/blob/master/nixos/tests)) | ||
- [ ] Tested compilation of all pkgs that depend on this change using `nix-shell -p nox --run "nox-review wip"` | ||
- [ ] Tested execution of all binary files (usually in `./result/bin/`) | ||
- [ ] Fits [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md). | ||
|
||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
16.03 | ||
18.09 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,19 @@ | ||
if ! builtins ? nixVersion || builtins.compareVersions "1.8" builtins.nixVersion == 1 then | ||
let requiredVersion = import ./lib/minver.nix; in | ||
|
||
abort "This version of Nixpkgs requires Nix >= 1.8, please upgrade! See https://nixos.org/wiki/How_to_update_when_nix_is_too_old_to_evaluate_nixpkgs" | ||
if ! builtins ? nixVersion || builtins.compareVersions requiredVersion builtins.nixVersion == 1 then | ||
|
||
abort '' | ||
This version of Nixpkgs requires Nix >= ${requiredVersion}, please upgrade: | ||
- If you are running NixOS, use `nixos-rebuild' to upgrade your system. | ||
- If you installed Nix using the install script (https://nixos.org/nix/install), | ||
it is safe to upgrade by running it again: | ||
curl https://nixos.org/nix/install | sh | ||
'' | ||
|
||
else | ||
|
||
import ./pkgs/top-level/all-packages.nix | ||
import ./pkgs/top-level/impure.nix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
*.chapter.xml | ||
*.section.xml | ||
.version | ||
out | ||
manual-full.xml | ||
highlightjs |
Oops, something went wrong.