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: 1dd644525210
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: fa30c8cfca95
Choose a head ref
  • 17 commits
  • 19 files changed
  • 9 contributors

Commits on Oct 30, 2018

  1. Copy the full SHA
    c3a7194 View commit details

Commits on Nov 2, 2018

  1. Copy the full SHA
    62429fe View commit details
  2. Copy the full SHA
    61aa7e0 View commit details

Commits on Nov 3, 2018

  1. Copy the full SHA
    7959f77 View commit details
  2. Copy the full SHA
    b3ab4d1 View commit details
  3. treewide: remove pkgs_i686

    This was getting evaluated eagerly causing assertion failures in
    aarch64 systems. We can replace usages of pkgs_i686 with
    pkgs.pkgsi686Linux.
    matthewbauer committed Nov 3, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    4a8fc5b View commit details
  4. stage.nix: throw error on incorrect pkgsi686Linux usage

    pkgsi686Linux now throws an error with a message as opposed to the
    previous assertion.
    matthewbauer committed Nov 3, 2018

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    370ce8f View commit details
  5. Copy the full SHA
    666e0ab View commit details

Commits on Nov 4, 2018

  1. Merge pull request #49632 from enumatech/fastlane-2.107.0

    fastlane: 2.105.2 -> 2.107.0
    Mic92 authored Nov 4, 2018
    Copy the full SHA
    dc0af4d View commit details
  2. Merge pull request #49670 from matthewbauer/pkgs-i686-remove

    Fix pkgsi686Linux assertion
    matthewbauer authored Nov 4, 2018
    Copy the full SHA
    2b604c2 View commit details
  3. Merge pull request #49628 from lopsided98/raspberrypi-wireless-firmwa…

    …re-update
    
    raspberrypiWirelessFirmware: 2018-05-30 -> 2018-08-20
    Mic92 authored Nov 4, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1252aa5 View commit details
  4. Merge pull request #49664 from dtzWill/update/bup-0.29.2

    bup: 0.29.1 -> 0.29.2
    Mic92 authored Nov 4, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    98063b8 View commit details
  5. Merge pull request #49462 from roberth/pkgs-nixos-example

    pkgs.nixos: Add example to inline documentation
    roberth authored Nov 4, 2018
    Copy the full SHA
    14a9365 View commit details
  6. coqPackages.mathcomp: refactor

    vbgl committed Nov 4, 2018
    Copy the full SHA
    d2c38d1 View commit details
  7. coqPackages.ssreflect: refactor

    vbgl committed Nov 4, 2018

    Verified

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

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e338d80 View commit details
  9. lombok: 1.16.22 -> 1.18.4

    rycee committed Nov 4, 2018

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    fa30c8c View commit details
8 changes: 4 additions & 4 deletions nixos/modules/config/pulseaudio.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ config, lib, pkgs, pkgs_i686, ... }:
{ config, lib, pkgs, ... }:

with pkgs;
with lib;
@@ -19,7 +19,7 @@ let

# Forces 32bit pulseaudio and alsaPlugins to be built/supported for apps
# using 32bit alsa on 64bit linux.
enable32BitAlsaPlugins = cfg.support32Bit && stdenv.isx86_64 && (pkgs_i686.alsaLib != null && pkgs_i686.libpulseaudio != null);
enable32BitAlsaPlugins = cfg.support32Bit && stdenv.isx86_64 && (pkgs.pkgsi686Linux.alsaLib != null && pkgs.pkgsi686Linux.libpulseaudio != null);


myConfigFile =
@@ -63,7 +63,7 @@ let
pcm_type.pulse {
libs.native = ${pkgs.alsaPlugins}/lib/alsa-lib/libasound_module_pcm_pulse.so ;
${lib.optionalString enable32BitAlsaPlugins
"libs.32Bit = ${pkgs_i686.alsaPlugins}/lib/alsa-lib/libasound_module_pcm_pulse.so ;"}
"libs.32Bit = ${pkgs.pkgsi686Linux.alsaPlugins}/lib/alsa-lib/libasound_module_pcm_pulse.so ;"}
}
pcm.!default {
type pulse
@@ -72,7 +72,7 @@ let
ctl_type.pulse {
libs.native = ${pkgs.alsaPlugins}/lib/alsa-lib/libasound_module_ctl_pulse.so ;
${lib.optionalString enable32BitAlsaPlugins
"libs.32Bit = ${pkgs_i686.alsaPlugins}/lib/alsa-lib/libasound_module_ctl_pulse.so ;"}
"libs.32Bit = ${pkgs.pkgsi686Linux.alsaPlugins}/lib/alsa-lib/libasound_module_ctl_pulse.so ;"}
}
ctl.!default {
type pulse
4 changes: 2 additions & 2 deletions nixos/modules/hardware/opengl.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ config, lib, pkgs, pkgs_i686, ... }:
{ config, lib, pkgs, ... }:

with lib;

@@ -148,7 +148,7 @@ in
[ "/run/opengl-driver/share" ] ++ optional cfg.driSupport32Bit "/run/opengl-driver-32/share";

hardware.opengl.package = mkDefault (makePackage pkgs);
hardware.opengl.package32 = mkDefault (makePackage pkgs_i686);
hardware.opengl.package32 = mkDefault (makePackage pkgs.pkgsi686Linux);

boot.extraModulePackages = optional (elem "virtualbox" videoDrivers) kernelPackages.virtualboxGuestAdditions;
};
4 changes: 2 additions & 2 deletions nixos/modules/hardware/video/amdgpu-pro.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This module provides the proprietary AMDGPU-PRO drivers.

{ config, lib, pkgs, pkgs_i686, ... }:
{ config, lib, pkgs, ... }:

with lib;

@@ -11,7 +11,7 @@ let
enabled = elem "amdgpu-pro" drivers;

package = config.boot.kernelPackages.amdgpu-pro;
package32 = pkgs_i686.linuxPackages.amdgpu-pro.override { libsOnly = true; kernel = null; };
package32 = pkgs.pkgsi686Linux.linuxPackages.amdgpu-pro.override { libsOnly = true; kernel = null; };

opengl = config.hardware.opengl;

4 changes: 2 additions & 2 deletions nixos/modules/hardware/video/ati.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This module provides the proprietary ATI X11 / OpenGL drivers.

{ config, lib, pkgs_i686, ... }:
{ config, lib, pkgs, ... }:

with lib;

@@ -24,7 +24,7 @@ in
{ name = "fglrx"; modules = [ ati_x11 ]; libPath = [ "${ati_x11}/lib" ]; };

hardware.opengl.package = ati_x11;
hardware.opengl.package32 = pkgs_i686.linuxPackages.ati_drivers_x11.override { libsOnly = true; kernel = null; };
hardware.opengl.package32 = pkgs.pkgsi686Linux.linuxPackages.ati_drivers_x11.override { libsOnly = true; kernel = null; };

environment.systemPackages = [ ati_x11 ];

4 changes: 2 additions & 2 deletions nixos/modules/hardware/video/nvidia.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This module provides the proprietary NVIDIA X11 / OpenGL drivers.

{ stdenv, config, lib, pkgs, pkgs_i686, ... }:
{ stdenv, config, lib, pkgs, ... }:

with lib;

@@ -25,7 +25,7 @@ let
nvidia_x11 = nvidiaForKernel config.boot.kernelPackages;
nvidia_libs32 =
if versionOlder nvidia_x11.version "391" then
((nvidiaForKernel pkgs_i686.linuxPackages).override { libsOnly = true; kernel = null; }).out
((nvidiaForKernel pkgs.pkgsi686Linux.linuxPackages).override { libsOnly = true; kernel = null; }).out
else
(nvidiaForKernel config.boot.kernelPackages).lib32;

1 change: 0 additions & 1 deletion nixos/modules/misc/nixpkgs.nix
Original file line number Diff line number Diff line change
@@ -208,7 +208,6 @@ in
config = {
_module.args = {
pkgs = cfg.pkgs;
pkgs_i686 = cfg.pkgs.pkgsi686Linux;
};
};
}
4 changes: 2 additions & 2 deletions nixos/modules/virtualisation/parallels-guest.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ config, lib, pkgs, pkgs_i686, ... }:
{ config, lib, pkgs, ... }:

with lib;

@@ -64,7 +64,7 @@ in
};

hardware.opengl.package = prl-tools;
hardware.opengl.package32 = pkgs_i686.linuxPackages.prl-tools.override { libsOnly = true; kernel = null; };
hardware.opengl.package32 = pkgs.pkgsi686Linux.linuxPackages.prl-tools.override { libsOnly = true; kernel = null; };

services.udev.packages = [ prl-tools ];

46 changes: 41 additions & 5 deletions pkgs/development/coq-modules/mathcomp/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{ callPackage, fetchurl, coq }:
{ stdenv, fetchurl, coq, ncurses, which
, graphviz, withDoc ? false
}:

let param =
let params =

let param_1_7 = {
version = "1.7.0";
@@ -16,14 +18,48 @@ let param =
"8.6" = param_1_7;
"8.7" = param_1_7;
"8.8" = param_1_7;
"8.9" = param_1_7;

}."${coq.coq-version}"
; in
};
param = params."${coq.coq-version}";
in

callPackage ./generic.nix {
stdenv.mkDerivation {
name = "coq${coq.coq-version}-mathcomp-${param.version}";

src = fetchurl {
url = "https://github.com/math-comp/math-comp/archive/mathcomp-${param.version}.tar.gz";
inherit (param) sha256;
};

nativeBuildInputs = stdenv.lib.optionals withDoc [ graphviz ];
buildInputs = [ coq ncurses which ] ++ (with coq.ocamlPackages; [ ocaml findlib camlp5 ]);

enableParallelBuilding = true;

buildFlags = stdenv.lib.optionalString withDoc "doc";

preBuild = ''
patchShebangs etc/utils/ssrcoqdep || true
cd mathcomp
export COQBIN=${coq}/bin/
'';

installPhase = ''
make -f Makefile.coq COQLIB=$out/lib/coq/${coq.coq-version}/ install
'' + stdenv.lib.optionalString withDoc ''
make -f Makefile.coq install-doc DOCDIR=$out/share/coq/${coq.coq-version}/
'';

meta = with stdenv.lib; {
homepage = http://ssr.msr-inria.inria.fr/;
license = licenses.cecill-b;
maintainers = [ maintainers.vbgl maintainers.jwiegley ];
platforms = coq.meta.platforms;
};

passthru = {
compatibleCoqVersions = v: builtins.hasAttr v params;
};

}
42 changes: 0 additions & 42 deletions pkgs/development/coq-modules/mathcomp/generic.nix

This file was deleted.

47 changes: 42 additions & 5 deletions pkgs/development/coq-modules/ssreflect/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{ callPackage, fetchurl, coq }:
{ stdenv, fetchurl, coq, ncurses, which
, graphviz, withDoc ? false
}:

let param =
let params =

let param_1_7 = {
version = "1.7.0";
@@ -16,14 +18,49 @@ let param =
"8.6" = param_1_7;
"8.7" = param_1_7;
"8.8" = param_1_7;
"8.9" = param_1_7;

}."${coq.coq-version}"
; in
};
param = params."${coq.coq-version}";
in

stdenv.mkDerivation {

callPackage ./generic.nix {
name = "coq${coq.coq-version}-ssreflect-${param.version}";
src = fetchurl {
url = "https://github.com/math-comp/math-comp/archive/mathcomp-${param.version}.tar.gz";
inherit (param) sha256;
};

nativeBuildInputs = stdenv.lib.optionals withDoc [ graphviz ];
buildInputs = [ coq ncurses which ] ++ (with coq.ocamlPackages; [ ocaml findlib camlp5 ]);

enableParallelBuilding = true;

preBuild = ''
patchShebangs etc/utils/ssrcoqdep || true
cd mathcomp/ssreflect
export COQBIN=${coq}/bin/
'';

installPhase = ''
make -f Makefile.coq COQLIB=$out/lib/coq/${coq.coq-version}/ install
'';

postInstall = stdenv.lib.optionalString withDoc ''
mkdir -p $out/share/doc/coq/${coq.coq-version}/user-contrib/mathcomp/ssreflect/
cp -r html $out/share/doc/coq/${coq.coq-version}/user-contrib/mathcomp/ssreflect/
'';

meta = with stdenv.lib; {
homepage = http://ssr.msr-inria.inria.fr/;
license = licenses.cecill-b;
maintainers = with maintainers; [ vbgl jwiegley ];
inherit (coq.meta) platforms;
};

passthru = {
compatibleCoqVersions = v: builtins.hasAttr v params;
};

}
49 changes: 0 additions & 49 deletions pkgs/development/coq-modules/ssreflect/generic.nix

This file was deleted.

4 changes: 2 additions & 2 deletions pkgs/development/libraries/java/lombok/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ stdenv, fetchurl }:

stdenv.mkDerivation rec {
name = "lombok-1.16.22";
name = "lombok-1.18.4";

src = fetchurl {
url = "https://projectlombok.org/downloads/${name}.jar";
sha256 = "1hr2jjlqdnxrw7ablqkf7ljc6n2q6a04ww14di06zs6i3l82zzpa";
sha256 = "0hlpycnmzd71ihn59hzf445dvwky2lkv57jimx91i6v7xcnr5wrr";
};

buildCommand = ''
Loading