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: 2cd2e7267e5b
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: bf2425fb0624
Choose a head ref
  • 11 commits
  • 6 files changed
  • 8 contributors

Commits on Jun 21, 2020

  1. Copy the full SHA
    a64a315 View commit details

Commits on Jun 22, 2020

  1. freecad: use python 3.7

    PySide2 5.12 is broken under Python 3.8.
    gebner committed Jun 22, 2020
    Copy the full SHA
    f67b81e View commit details
  2. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    rnhmjoj Michele Guerini Rocco
    Copy the full SHA
    1b17b3b View commit details

Commits on Jun 23, 2020

  1. mlkit: init at 4.5.0

    athas committed Jun 23, 2020
    Copy the full SHA
    0ffeccd View commit details
  2. Merge pull request #84730 from athas/mlkit

    mlkit: init at 4.5.0
    danieldk authored Jun 23, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    28d2854 View commit details
  3. just: remove dash dependency

    madjar committed Jun 23, 2020
    Copy the full SHA
    c72d7de View commit details
  4. Merge pull request #91261 from rnhmjoj/intel

    nixos/doc: add section on Intel DDX drivers
    rnhmjoj authored Jun 23, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1b5e0d4 View commit details
  5. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e41ea6b View commit details
  6. Merge pull request #91224 from iblech/patch-terminus

    terminus-font: make build reproducible by using `gzip -n`
    rnhmjoj authored Jun 23, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    4b8e31f View commit details
  7. tests/taskserver: fix gnutls invocation

    test failed because gnutls-cli does not properly report connection
    errors any more, fixed by increasing the debug level for gnutls-cli
    
    Fixes: #84507
    Closes: #90718
    wamserma authored and aszlig committed Jun 23, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    e435660 View commit details
  8. Merge pull request #91343 from madjar/just-remove-dash-dependency

    just: remove dash dependency
    rnhmjoj authored Jun 23, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    bf2425f View commit details
41 changes: 41 additions & 0 deletions nixos/doc/manual/configuration/x-windows.xml
Original file line number Diff line number Diff line change
@@ -96,6 +96,47 @@
The options are named identically for all other display managers.
</para>
</simplesect>
<simplesect xml:id="sec-x11--graphics-cards-intel">
<title>Intel Graphics drivers</title>
<para>
There are two choices for Intel Graphics drivers in X.org:
<literal>modesetting</literal> (included in the <package>xorg-server</package> itself)
and <literal>intel</literal> (provided by the package <package>xf86-video-intel</package>).
</para>
<para>
The default and recommended is <literal>modesetting</literal>.
It is a generic driver which uses the kernel
<link xlink:href="https://en.wikipedia.org/wiki/Mode_setting">mode setting</link>
(KMS) mechanism. It supports Glamor (2D graphics acceleration via OpenGL)
and is actively maintained but may perform worse in some cases (like in old chipsets).
</para>
<para>
The second driver, <literal>intel</literal>, is specific to Intel GPUs,
but not recommended by most distributions: it lacks several modern features
(for example, it doesn't support Glamor) and the package hasn't been officially
updated since 2015.
</para>
<para>
The results vary depending on the hardware, so you may have to try both drivers.
Use the option <xref linkend="opt-services.xserver.videoDrivers"/> to set one.
The recommended configuration for modern systems is:
<programlisting>
<xref linkend="opt-services.xserver.videoDrivers"/> = [ "modesetting" ];
<xref linkend="opt-services.xserver.useGlamor"/> = true;
</programlisting>
If you experience screen tearing no matter what, this configuration was
reported to resolve the issue:
<programlisting>
<xref linkend="opt-services.xserver.videoDrivers"/> = [ "intel" ];
<xref linkend="opt-services.xserver.deviceSection"/> = ''
Option "DRI" "2"
Option "TearFree" "true"
'';
</programlisting>
Note that this will likely downgrade the performance compared to
<literal>modesetting</literal> or <literal>intel</literal> with DRI 3 (default).
</para>
</simplesect>
<simplesect xml:id="sec-x11-graphics-cards-nvidia">
<title>Proprietary NVIDIA drivers</title>
<para>
3 changes: 2 additions & 1 deletion nixos/tests/taskserver.nix
Original file line number Diff line number Diff line change
@@ -176,7 +176,8 @@ in {
sub checkClientCert ($) {
my $user = $_[0];
my $cmd = "gnutls-cli".
# debug level 3 is a workaround for gnutls issue https://gitlab.com/gnutls/gnutls/-/issues/1040
my $cmd = "gnutls-cli -d 3".
" --x509cafile=/home/$user/.task/keys/ca.cert".
" --x509keyfile=/home/$user/.task/keys/private.key".
" --x509certfile=/home/$user/.task/keys/public.cert".
1 change: 1 addition & 0 deletions pkgs/data/fonts/terminus-font/default.nix
Original file line number Diff line number Diff line change
@@ -21,6 +21,7 @@ stdenv.mkDerivation rec {

postPatch = ''
substituteInPlace Makefile --replace 'fc-cache' '#fc-cache'
substituteInPlace Makefile --replace 'gzip' 'gzip -n'
'';

postBuild = ''
24 changes: 24 additions & 0 deletions pkgs/development/compilers/mlkit/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{ stdenv, fetchFromGitHub, autoreconfHook, mlton }:

stdenv.mkDerivation rec {
pname = "mlkit";
version = "4.5.0";

src = fetchFromGitHub {
owner = "melsman";
repo = "mlkit";
rev = "v${version}";
sha256 = "0fc0y40qphn02857fv2dvhwzzsvgixzchx9i6i0x80xfv7z68fbh";
};

nativeBuildInputs = [ autoreconfHook mlton ];

buildFlags = ["mlkit" "mlkit_libs"];

meta = with stdenv.lib; {
description = "Standard ML Compiler and Toolkit";
homepage = "https://elsman.com/mlkit/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ athas ];
};
}
4 changes: 2 additions & 2 deletions pkgs/development/tools/just/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform, coreutils, bash, dash
{ stdenv, fetchFromGitHub, rustPlatform, coreutils, bash
, installShellFiles }:

rustPlatform.buildRustPackage rec {
@@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec {
installShellCompletion --zsh --name _just completions/just.zsh
'';

checkInputs = [ coreutils bash dash ];
checkInputs = [ coreutils bash ];

preCheck = ''
# USER must not be empty
8 changes: 7 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -9061,6 +9061,8 @@ in

mkcl = callPackage ../development/compilers/mkcl {};

mlkit = callPackage ../development/compilers/mlkit {};

inherit (callPackage ../development/compilers/mlton {})
mlton20130715
mlton20180207Binary
@@ -19860,7 +19862,11 @@ in

fractal = callPackage ../applications/networking/instant-messengers/fractal { };

freecad = qt5.callPackage ../applications/graphics/freecad { mpi = openmpi; };
freecad = qt5.callPackage ../applications/graphics/freecad {
mpi = openmpi;
# pyside2 5.12 is broken under python 3.8
python3Packages = python37Packages;
};

freemind = callPackage ../applications/misc/freemind { };