Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: fb1bc1b891f5
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8e3d1750f842
Choose a head ref

Commits on Oct 7, 2019

  1. spacegun: init at 0.3.3

    kampka committed Oct 7, 2019
    Copy the full SHA
    10f8ff8 View commit details

Commits on Oct 17, 2019

  1. Copy the full SHA
    0e79770 View commit details

Commits on Nov 2, 2019

  1. ocserv: 0.12.4 -> 0.12.5

    r-ryantm committed Nov 2, 2019
    Copy the full SHA
    bd8d1a3 View commit details

Commits on Nov 11, 2019

  1. maintainers: added misuzu

    misuzu committed Nov 11, 2019
    Copy the full SHA
    b619c06 View commit details
  2. 3proxy: init at 0.8.13

    misuzu committed Nov 11, 2019
    Copy the full SHA
    b571728 View commit details
  3. nixos/3proxy: init

    misuzu committed Nov 11, 2019
    Copy the full SHA
    08eb63b View commit details

Commits on Nov 13, 2019

  1. rustc: add QA documentation

    Mic92 committed Nov 13, 2019
    Copy the full SHA
    d2d1c53 View commit details

Commits on Nov 25, 2019

  1. Copy the full SHA
    9f07ede View commit details

Commits on Nov 27, 2019

  1. Copy the full SHA
    823d669 View commit details
  2. Copy the full SHA
    000f19f View commit details
  3. Copy the full SHA
    c44fdd5 View commit details
  4. Copy the full SHA
    ae7a96b View commit details
  5. Copy the full SHA
    1cda2f9 View commit details
  6. Copy the full SHA
    5458a38 View commit details

Commits on Nov 28, 2019

  1. incrtcl: 4.0.4 -> 4.2.0

    r-ryantm committed Nov 28, 2019
    Copy the full SHA
    0ec3df7 View commit details

Commits on Nov 29, 2019

  1. Copy the full SHA
    2f31971 View commit details
  2. Copy the full SHA
    eb1efb7 View commit details
  3. Copy the full SHA
    06ddb4a View commit details

Commits on Dec 1, 2019

  1. Copy the full SHA
    4095c79 View commit details

Commits on Dec 3, 2019

  1. Copy the full SHA
    d453ee2 View commit details

Commits on Dec 5, 2019

  1. Copy the full SHA
    191de93 View commit details

Commits on Dec 8, 2019

  1. ddcutil: 0.9.7 -> 0.9.8

    r-ryantm committed Dec 8, 2019
    Copy the full SHA
    7968756 View commit details
  2. tinygo: init at 0.10.0

    Okina Matara committed Dec 8, 2019
    Copy the full SHA
    7741e44 View commit details
  3. ktlint: 0.35.0 -> 0.36.0

    r-ryantm committed Dec 8, 2019
    Copy the full SHA
    bfd3b32 View commit details
  4. Copy the full SHA
    809ec69 View commit details
  5. libmysofa: 0.8 -> 0.9

    r-ryantm committed Dec 8, 2019
    Copy the full SHA
    003eaaf View commit details
  6. mnemosyne: 2.6.1 -> 2.7

    r-ryantm committed Dec 8, 2019
    Copy the full SHA
    c29da36 View commit details
  7. powerdns: 4.2.0 -> 4.2.1

    r-ryantm committed Dec 8, 2019
    Copy the full SHA
    394ec51 View commit details
  8. Copy the full SHA
    7b431fd View commit details
  9. Copy the full SHA
    f6bb473 View commit details

Commits on Dec 9, 2019

  1. ocamlPackages.owl: 0.7.1 -> 0.7.2

    - also enable tests (except on OSX) due to upstream fixes
    bcdarwin committed Dec 9, 2019
    Copy the full SHA
    bfe5d1c View commit details
  2. Copy the full SHA
    d7ec7ab View commit details
  3. Copy the full SHA
    e7857f0 View commit details
  4. Copy the full SHA
    c07de6c View commit details
  5. Copy the full SHA
    a21d658 View commit details
  6. Copy the full SHA
    5bbc1c1 View commit details
  7. Copy the full SHA
    45d3c40 View commit details
  8. Copy the full SHA
    191f1c9 View commit details
  9. Copy the full SHA
    52be004 View commit details
  10. Copy the full SHA
    186e55f View commit details
  11. Copy the full SHA
    ad95ea7 View commit details
  12. Copy the full SHA
    bdd0a3f View commit details
  13. Copy the full SHA
    583b483 View commit details
  14. Copy the full SHA
    d6eb9b5 View commit details

Commits on Dec 10, 2019

  1. wrapGAppsHook: don't add empty variables

    Adding empty variables can lead to this problem:
    
    ```diff
     wrapProgram \
         ./pye_menu_shell \
         --prefix PATH : /nix/store/4c3z5r6yxsf2cxwwyazhdn92xixn4j5b-python3-3.7.5/bin:/nix/store/b3l3niilvqcxcsbxmd6sgqk1dy1rk81c-pye-menu-1.0/bin:/nix/store/y8j1cfj8d9r5rbbxc22w7hnfjw5f4fd3-cairo-1.16.0-dev/bin:/nix/store/6mg7lfbdh9pgx7pbxr3544qqbrigdl1q-freetype-2.10.1-dev/bin:/nix/store/gpszqcy0xi0lavbbjdq82zkkjp3jbp2a-bzip2-1.0.6.0.1-bin/bin:/nix/store/031c5pk5lzabgmpqpyd46hzi625as6bp-libpng-apng-1.6.37-dev/bin:/nix/store/f8kl7kmpv130aw9zm542p74a3hg0yc13-fontconfig-2.12.6-bin/bin:/nix/store/bqp30vkncmm222mjvwggz0s7p318sflj-expat-2.2.7-dev/bin:/nix/store/w57xa8g4s4aviwmqwgra7m5hwj2b005m-glib-2.60.7-dev/bin:/nix/store/v5d4966ahvfir2hwpv003022f3pb7vik-gettext-0.19.8.1/bin:/nix/store/qpvxhl1jr0fxnrx9idnpdagqs00m5m2z-glib-2.60.7/bin \
         --set PYTHONNOUSERSITE true \
         --set GDK_PIXBUF_MODULE_FILE /nix/store/7ddlakx6xjczqbfs80xjd14f30fzadws-gdk-pixbuf-2.38.1/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache \
         --prefix XDG_DATA_DIRS : /nix/store/0snjc1qg89zqn3v35l9d55xrykh9nj5c-gtk+3-3.24.10/share/gsettings-schemas/gtk+3-3.24.10:/nix/store/b41z51vdv11n6df8ki5vj8dynxw98f9l-gsettings-desktop-schemas-3.32.0/share/gsettings-schemas/gsettings-desktop-schemas-3.32.0:/nix/store/0snjc1qg89zqn3v35l9d55xrykh9nj5c-gtk+3-3.24.10/share/gsettings-schemas/gtk+3-3.24.10 \
    -     --prefix GST_PLUGIN_SYSTEM_PATH_1_0 : \
    +     --prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "" \
         --prefix GI_TYPELIB_PATH : /nix/store/0snjc1qg89zqn3v35l9d55xrykh9nj5c-gtk+3-3.24.10/lib/girepository-1.0:/nix/store/z29l5xaaxh1s0697mcldj71ab0zshry1-librsvg-2.44.15/lib/girepository-1.0:/nix/store/pija1xzm7izxfb5m2hvhvlwp1l38ffxa-gobject-introspection-1.60.2/lib/girepository-1.0 \
    -     --prefix GRL_PLUGIN_PATH :
    +     --prefix GRL_PLUGIN_PATH : ""
    ```
    Where the diff is to highlight the problem: we don't have a valid value
    for GST_PLUGIN_SYSTEM_PATH_1_0 or GRL_PLUGIN_PATH, and instead of
    passing the empy string, the empty string gets unquoted somewhere, so we
    end up passing no arguments, thus the parser in wrapProgram takes
    --prefix as the argument of GST_PLUGIN_SYSTEM_PATH_1_0, and then
    GI_TYPELIB_PATH is missing it's --prefix so wrapProgram complains/dies.
    
    The easiest change is to not add empty arguments to the wrapper
    Kovacsics Robert committed Dec 10, 2019
    Copy the full SHA
    2c8c8f2 View commit details
  2. Copy the full SHA
    76a602d View commit details

Commits on Dec 11, 2019

  1. Copy the full SHA
    b5a3336 View commit details
  2. Merge pull request #75317 from worldofpeace/bluez-docheck

    bluez: enable checkPhase on x86_64-linux
    worldofpeace authored Dec 11, 2019
    Copy the full SHA
    fb390ed View commit details
  3. python3Packages.astor: 0.8.0 -> 0.8.1

    Jonathan Ringer committed Dec 11, 2019
    Copy the full SHA
    c0ea42c View commit details
  4. Merge pull request #75450 from KoviRobi/fix-wrap-gapps-hook-shell-quo…

    …ting
    
    wrapGAppsHook: don't add empty variables (see also #75443)
    worldofpeace authored Dec 11, 2019
    Copy the full SHA
    25879b3 View commit details
Showing 594 changed files with 23,741 additions and 7,721 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@
- [ ] 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 nix-review --run "nix-review wip"`
- [ ] Tested compilation of all pkgs that depend on this change using `nix-shell -p nixpkgs-review --run "nixpkgs-review wip"`
- [ ] Tested execution of all binary files (usually in `./result/bin/`)
- [ ] Determined the impact on package closure size (by running `nix path-info -S` before and after)
- [ ] Ensured that relevant documentation is up to date
4 changes: 2 additions & 2 deletions doc/contributing/reviewing-contributions.xml
Original file line number Diff line number Diff line change
@@ -141,10 +141,10 @@
</listitem>
<listitem>
<para>
The <link xlink:href="https://github.com/Mic92/nix-review">nix-review</link> tool can be used to review a pull request content in a single command. <varname>PRNUMBER</varname> should be replaced by the number at the end of the pull request title. You can also provide the full github pull request url.
The <link xlink:href="https://github.com/Mic92/nixpkgs-review">nixpkgs-review</link> tool can be used to review a pull request content in a single command. <varname>PRNUMBER</varname> should be replaced by the number at the end of the pull request title. You can also provide the full github pull request url.
</para>
<screen>
<prompt>$ </prompt>nix-shell -p nix-review --run "nix-review pr PRNUMBER"
<prompt>$ </prompt>nix-shell -p nixpkgs-review --run "nixpkgs-review pr PRNUMBER"
</screen>
</listitem>
</itemizedlist>
22 changes: 11 additions & 11 deletions doc/contributing/submitting-changes.xml
Original file line number Diff line number Diff line change
@@ -317,25 +317,25 @@ Additional information.
</section>

<section xml:id="submitting-changes-tested-compilation">
<title>Tested compilation of all pkgs that depend on this change using <command>nix-review</command></title>
<title>Tested compilation of all pkgs that depend on this change using <command>nixpkgs-review</command></title>

<para>
If you are updating a package's version, you can use nix-review to make sure all packages that depend on the updated package still compile correctly. The <command>nix-review</command> utility can look for and build all dependencies either based on uncommited changes with the <literal>wip</literal> option or specifying a github pull request number.
If you are updating a package's version, you can use nixpkgs-review to make sure all packages that depend on the updated package still compile correctly. The <command>nixpkgs-review</command> utility can look for and build all dependencies either based on uncommited changes with the <literal>wip</literal> option or specifying a github pull request number.
</para>

<para>
review changes from pull request number 12345:
<screen>nix run nixpkgs.nix-review -c nix-review pr 12345</screen>
<screen>nix run nixpkgs.nixpkgs-review -c nixpkgs-review pr 12345</screen>
</para>

<para>
review uncommitted changes:
<screen>nix run nixpkgs.nix-review -c nix-review wip</screen>
<screen>nix run nixpkgs.nixpkgs-review -c nixpkgs-review wip</screen>
</para>

<para>
review changes from last commit:
<screen>nix run nixpkgs.nix-review -c nix-review rev HEAD</screen>
<screen>nix run nixpkgs.nixpkgs-review -c nixpkgs-review rev HEAD</screen>
</para>
</section>

@@ -408,16 +408,16 @@ Additional information.
<section xml:id="submitting-changes-master-branch">
<title>Master branch</title>
<para>
The <literal>master</literal> branch is the main development branch.
The <literal>master</literal> branch is the main development branch.
It should only see non-breaking commits that do not cause mass rebuilds.
</para>
</section>

<section xml:id="submitting-changes-staging-branch">
<title>Staging branch</title>
<para>
The <literal>staging</literal> branch is a development branch where mass-rebuilds go.
It should only see non-breaking mass-rebuild commits.
The <literal>staging</literal> branch is a development branch where mass-rebuilds go.
It should only see non-breaking mass-rebuild commits.
That means it is not to be used for testing, and changes must have been well tested already.
If the branch is already in a broken state, please refrain from adding extra new breakages.
</para>
@@ -426,10 +426,10 @@ Additional information.
<section xml:id="submitting-changes-staging-next-branch">
<title>Staging-next branch</title>
<para>
The <literal>staging-next</literal> branch is for stabilizing mass-rebuilds submitted to the <literal>staging</literal> branch prior to merging them into <literal>master</literal>.
Mass-rebuilds should go via the <literal>staging</literal> branch.
The <literal>staging-next</literal> branch is for stabilizing mass-rebuilds submitted to the <literal>staging</literal> branch prior to merging them into <literal>master</literal>.
Mass-rebuilds should go via the <literal>staging</literal> branch.
It should only see non-breaking commits that are fixing issues blocking it from being merged into the <literal>master </literal> branch.
</para>
</para>
<para>
If the branch is already in a broken state, please refrain from adding extra new breakages. Stabilize it for a few days and then merge into master.
</para>
13 changes: 7 additions & 6 deletions doc/languages-frameworks/python.section.md
Original file line number Diff line number Diff line change
@@ -1034,7 +1034,10 @@ Create this `default.nix` file, together with a `requirements.txt` and simply ex

```nix
with import <nixpkgs> {};
with python27Packages;
let
pythonPackages = python27Packages;
in
stdenv.mkDerivation {
name = "impurePythonEnv";
@@ -1044,9 +1047,8 @@ stdenv.mkDerivation {
buildInputs = [
# these packages are required for virtualenv and pip to work:
#
python27Full
python27Packages.virtualenv
python27Packages.pip
pythonPackages.virtualenv
pythonPackages.pip
# the following packages are related to the dependencies of your python
# project.
# In this particular example the python modules listed in the
@@ -1059,14 +1061,13 @@ stdenv.mkDerivation {
libxml2
libxslt
libzip
stdenv
zlib
];
shellHook = ''
# set SOURCE_DATE_EPOCH so that we can use python wheels
SOURCE_DATE_EPOCH=$(date +%s)
virtualenv --no-setuptools venv
virtualenv --python=${pythonPackages.python.interpreter} --no-setuptools venv
export PATH=$PWD/venv/bin:$PATH
pip install -r requirements.txt
'';
91 changes: 91 additions & 0 deletions doc/languages-frameworks/texlive.xml
Original file line number Diff line number Diff line change
@@ -59,6 +59,97 @@ nix-repl> texlive.collection-<TAB>
</itemizedlist>
</section>

<section xml:id="sec-language-texlive-custom-packages">
<title>Custom packages</title>
<para>
You may find that you need to use an external TeX package. A derivation for such package has to provide contents of the "texmf" directory in its output and provide the <varname>tlType</varname> attribute. Here is a (very verbose) example:
<programlisting><![CDATA[
with import <nixpkgs> {};
let
foiltex_run = stdenvNoCC.mkDerivation {
pname = "latex-foiltex";
version = "2.1.4b";
passthru.tlType = "run";
srcs = [
(fetchurl {
url = "http://mirrors.ctan.org/macros/latex/contrib/foiltex/foiltex.dtx";
sha256 = "07frz0krpz7kkcwlayrwrj2a2pixmv0icbngyw92srp9fp23cqpz";
})
(fetchurl {
url = "http://mirrors.ctan.org/macros/latex/contrib/foiltex/foiltex.ins";
sha256 = "09wkyidxk3n3zvqxfs61wlypmbhi1pxmjdi1kns9n2ky8ykbff99";
})
];
unpackPhase = ''
runHook preUnpack
for _src in $srcs; do
cp "$_src" $(stripHash "$_src")
done
runHook postUnpack
'';
nativeBuildInputs = [ texlive.combined.scheme-small ];
dontConfigure = true;
buildPhase = ''
runHook preBuild
# Generate the style files
latex foiltex.ins
runHook postBuild
'';
installPhase = ''
runHook preInstall
path="$out/tex/latex/foiltex"
mkdir -p "$path"
cp *.{cls,def,clo} "$path/"
runHook postInstall
'';
meta = with lib; {
description = "A LaTeX2e class for overhead transparencies";
license = licenses.unfreeRedistributable;
maintainers = with maintainers; [ veprbl ];
platforms = platforms.all;
};
};
foiltex = { pkgs = [ foiltex_run ]; };
latex_with_foiltex = texlive.combine {
inherit (texlive) scheme-small;
inherit foiltex;
};
in
runCommand "test.pdf" {
nativeBuildInputs = [ latex_with_foiltex ];
} ''
cat >test.tex <<EOF
\documentclass{foils}
\title{Presentation title}
\date{}
\begin{document}
\maketitle
\end{document}
EOF
pdflatex test.tex
cp test.pdf $out
''
]]></programlisting>
</para>
</section>

<section xml:id="sec-language-texlive-known-problems">
<title>Known problems</title>

41 changes: 34 additions & 7 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -316,6 +316,7 @@
alexbakker = {
email = "ab@alexbakker.me";
github = "alexbakker";
githubId = 2387841;
name = "Alexander Bakker";
};
alexchapman = {
@@ -1432,7 +1433,7 @@
craigem = {
email = "craige@mcwhirter.io";
github = "craigem";
githubId = "6470493";
githubId = 6470493;
name = "Craige McWhirter";
};
cransom = {
@@ -1478,7 +1479,7 @@
};
cypherpunk2140 = {
email = "stefan.mihaila@pm.me";
github = "cypherpunk2140";
github = "stefan-mihaila";
githubId = 2217136;
name = "Ștefan D. Mihăilă";
keys = [
@@ -2087,6 +2088,12 @@
githubId = 1365692;
name = "Will Fancher";
};
elyhaka = {
email = "elyhaka@protonmail.com";
github = "Elyhaka";
githubId = 57923898;
name = "Elyhaka";
};
emmanuelrosa = {
email = "emmanuel_rosa@aol.com";
github = "emmanuelrosa";
@@ -2338,7 +2345,7 @@
Flakebi = {
email = "flakebi@t-online.de";
github = "Flakebi";
githubId = "Flakebi";
githubId = 6499211;
name = "Sebastian Neubauer";
keys = [{
longkeyid = "rsa4096/0xECC755EE583C1672";
@@ -3035,7 +3042,8 @@
jacg = {
name = "Jacek Generowicz";
email = "jacg@my-post-office.net";
githubId = "2570854";
github = "jacg";
githubId = 2570854;
};
jasoncarr = {
email = "jcarr250@gmail.com";
@@ -3138,6 +3146,7 @@
jdanek = {
email = "jdanek@redhat.com";
github = "jdanekrh";
githubId = 17877663;
keys = [{
longkeyid = "ed25519/0x69275CADF15D872E";
fingerprint = "D4A6 F051 AD58 2E7C BCED 5439 6927 5CAD F15D 872E";
@@ -3308,6 +3317,7 @@
joesalisbury = {
email = "salisbury.joseph@gmail.com";
github = "JosephSalisbury";
githubId = 297653;
name = "Joe Salisbury";
};
johanot = {
@@ -3590,6 +3600,7 @@
kim0 = {
email = "email.ahmedkamal@googlemail.com";
github = "kim0";
githubId = 59667;
name = "Ahmed Kamal";
};
kimburgess = {
@@ -3613,6 +3624,7 @@
kirikaza = {
email = "k@kirikaza.ru";
github = "kirikaza";
githubId = 804677;
name = "Kirill Kazakov";
};
kisonecat = {
@@ -3745,6 +3757,7 @@
ktor = {
email = "kruszewsky@gmail.com";
github = "ktor";
githubId = 99639;
name = "Pawel Kruszewski";
};
ktosiek = {
@@ -3801,8 +3814,15 @@
};
lattfein = {
email = "lattfein@gmail.com";
github = "lattfein";
githubId = 53550838;
# Their GitHub account was deleted.
#
# See: https://github.com/NixOS/nixpkgs/pull/69007 where this
# was added but is now owned by a ghost.
#
# Possibly the username lattfein (currently github ID 56827487) is
# owned by the same person, but we should confirm before adding
# the GitHub name or ID back.
# github = "lattfein";
name = "Koki Yasuno";
};
layus = {
@@ -3908,6 +3928,7 @@
lightbulbjim = {
email = "chris@killred.net";
github = "lightbulbjim";
githubId = 4312404;
name = "Chris Rendle-Short";
};
lightdiscord = {
@@ -6850,7 +6871,7 @@
thefenriswolf = {
email = "stefan.rohrbacher97@gmail.com";
github = "thefenriswolf";
githubId = "8547242";
githubId = 8547242;
name = "Stefan Rohrbacher";
};
thesola10 = {
@@ -7732,6 +7753,12 @@
githubId = 1986844;
name = "Daniel Wheeler";
};
misuzu = {
email = "bakalolka@gmail.com";
github = "misuzu";
githubId = 248143;
name = "misuzu";
};
zokrezyl = {
email = "zokrezyl@gmail.com";
github = "zokrezyl";
2 changes: 1 addition & 1 deletion maintainers/scripts/update.nix
Original file line number Diff line number Diff line change
@@ -105,7 +105,7 @@ let
to run all update scripts for all packages that lists \`garbas\` as a maintainer
and have \`updateScript\` defined, or:
% nix-shell maintainers/scripts/update.nix --argstr package garbas
% nix-shell maintainers/scripts/update.nix --argstr package gnome3.nautilus
to run update script for specific package, or
3 changes: 1 addition & 2 deletions nixos/doc/manual/configuration/x-windows.xml
Original file line number Diff line number Diff line change
@@ -83,8 +83,7 @@
desktop environment. If you wanted no desktop environment and i3 as your your
window manager, you'd define:
<programlisting>
<xref linkend="opt-services.xserver.desktopManager.default"/> = "none";
<xref linkend="opt-services.xserver.windowManager.default"/> = "i3";
<xref linkend="opt-services.xserver.displayManager.defaultSession"/> = "none+i3";
</programlisting>
And, finally, to enable auto-login for a user <literal>johndoe</literal>:
<programlisting>
Loading