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: 19a0543c6284
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: 48b4e1c6bf2d
Choose a head ref

Commits on Jan 30, 2019

  1. qt59: 5.9.3 -> 5.9.7

    (cherry picked from commit 776c962)
    FlorianFranzen authored and andir committed Jan 30, 2019
    Copy the full SHA
    fc0c9a2 View commit details
  2. qt59.qtvirtualkeyboard: fix CVE-2018-19865

    CVE-2018-19865 tracks the issue of qtvirtualkeyboard where it logs all
    user input. With this commit we are applying the recommended patches
    form the upstream project.
    
    More details can be obtained from the Qt annoucement [1].
    
    [1] https://blog.qt.io/blog/2018/12/04/qt-5-11-3-released-important-security-updates/
    
    (cherry picked from commit 6660128)
    andir committed Jan 30, 2019
    Copy the full SHA
    0d6c4a8 View commit details

Commits on Feb 2, 2019

  1. qt56.qtvirtualkeyboard: init at 5.6.3

    This adds the "missing" qtvirtualkeyboard module of qt56. I just add
    this so I can apply (& test) the patches for a CVE in the next commit.
    This might seem strange but in case anyone decided to add / use this in
    the future we are on the safe(r) side.
    
    (cherry picked from commit 295a210)
    andir committed Feb 2, 2019
    Copy the full SHA
    a3c82b9 View commit details
  2. qt56: fix CVE-2018-{15518,19873,19870,19871,19865,19869}

     * CVE-2018-15518, Qt Base: “double free or corruption” in QXmlStreamReader
     * CVE-2018-19873, Qt Base: QBmpHandler segfault on malformed BMP file
     * CVE-2018-19870, Qt Base: Check for QImage allocation failure in qgifhandler
     * CVE-2018-19871, Qt Imageformats: QImage: QTgaFile CPU exhaustion
     * CVE-2018-19865, Qt Virtual Keyboard: Qt Virtual Keyboard logs all key presses
     * CVE-2018-19869, Qt Svg: Fix crash when parsing malformed url reference
    
    More details can be obtained from the Qt annoucement [1].
    
    [1] https://blog.qt.io/blog/2018/12/04/qt-5-11-3-released-important-security-updates/
    
    (cherry picked from commit 066be85)
    andir committed Feb 2, 2019
    Copy the full SHA
    0948f87 View commit details
  3. qt511: 5.11.1 -> 5.11.3

    This fixes
    
     * CVE-2018-15518, Qt Base: “double free or corruption” in QXmlStreamReader
     * CVE-2018-19873, Qt Base: QBmpHandler segfault on malformed BMP file
     * CVE-2018-19870, Qt Base: Check for QImage allocation failure in qgifhandler
     * CVE-2018-19871, Qt Imageformats: QImage: QTgaFile CPU exhaustion
     * CVE-2018-19865, Qt Virtual Keyboard: Qt Virtual Keyboard logs all key presses
     * CVE-2018-19869, Qt Svg: Fix crash when parsing malformed url reference
    
    More details can be obtained from the Qt annoucement [1].
    
    [1] https://blog.qt.io/blog/2018/12/04/qt-5-11-3-released-important-security-updates/
    
    (cherry picked from commit 2f5d37b)
    andir committed Feb 2, 2019
    Copy the full SHA
    89049f3 View commit details
  4. Revert "qt59-qtbase: fix darwin build with clang-5"

    The fix is already included in Qt 5.9.7
    
    This reverts commit 0bf153f.
    
    (cherry picked from commit fd75bbc)
    veprbl authored and andir committed Feb 2, 2019
    Copy the full SHA
    1e2c3be View commit details

Commits on Feb 16, 2019

  1. qt511: add patch for macOS sdk

    Unfortunately we don’t have access to NSWindowStyleMask. These patches
    should go away once we switch to a newer SDK.
    
    (cherry picked from commit 8153104)
    matthewbauer authored and vcunat committed Feb 16, 2019
    Copy the full SHA
    82434e7 View commit details
  2. openssl: 1.0.2p -> 1.0.2q

    CVE-2018-0734: https://www.openssl.org/news/vulnerabilities.html#2018-0734
    CVE-2018-5407: https://www.openssl.org/news/vulnerabilities.html#2018-5407
    
    No patches can any longer be shared between 1.0.2 and 1.1, so reorganize
    patches into subdirectories (and remove an unused one).
    
    (cherry picked from commit ae29a9e)
    alyssais authored and andrew-d committed Feb 16, 2019
    Copy the full SHA
    9c75f20 View commit details
  3. Copy the full SHA
    d7225e0 View commit details
  4. Merge #55885: openssl: 1.0.2p -> 1.0.2q

    ... into staging-18.09.
    vcunat committed Feb 16, 2019
    Copy the full SHA
    fe00e77 View commit details
  5. Merge #55089: qt5*: bugfixes + security

    ... into staging-18.09.
    vcunat committed Feb 16, 2019
    Copy the full SHA
    af6b20c View commit details

Commits on Feb 17, 2019

  1. Merge branch 'staging-18.09' into release-18.09

    Security updates for qt5* and openssl.
    We can't afford to wait for darwin rebuild - it would take far too long.
    vcunat committed Feb 17, 2019
    Copy the full SHA
    f4ddc31 View commit details
  2. unzip: patch CVE-2018-18384 (PR #55927)

    Patch from https://sourceforge.net/p/infozip/bugs/53/
    
    (cherry picked from commit 705167a)
    delroth authored and vcunat committed Feb 17, 2019
    Copy the full SHA
    8d226d8 View commit details
  3. adoptopenjdk: pick expression structure from master

    They seem to be uninteresting changes just hindering
    backports of version bumps.
    vcunat committed Feb 17, 2019
    Copy the full SHA
    a332973 View commit details
  4. Merge #54576: adoptopenjdk-bin: 11.0.1 -> 11.0.2

    Includes security fixes.
    
    (cherry picked from commit 94b518f)
    vcunat committed Feb 17, 2019
    Copy the full SHA
    ef02c63 View commit details
  5. vscode: 1.31.0 -> 1.31.1

    (cherry picked from commit 8d5bce4)
    eadwu committed Feb 17, 2019
    Copy the full SHA
    347bccc View commit details
  6. Merge pull request #55949 from eadwu/backports/20190217

    [18.09] vscode backports - 2019-02-17
    worldofpeace authored Feb 17, 2019
    Copy the full SHA
    ea08208 View commit details

Commits on Feb 18, 2019

  1. Copy the full SHA
    fd65170 View commit details

Commits on Feb 19, 2019

  1. postgresql: Don't move libs unnecessarily out of $lib.

    In particular, when static linking pkgconfig expects libpq.a in $lib
    
    (cherry picked from commit bb52ff3)
    shlevy committed Feb 19, 2019
    Copy the full SHA
    c007ecf View commit details
  2. chromium: 72.0.3626.96 -> 72.0.3626.109

    (cherry picked from commit c414e5b)
    bendlas committed Feb 19, 2019
    Copy the full SHA
    7e5b599 View commit details
  3. Merge branch 'staging-18.09' into release-18.09

    unzip CVE fix.
    vcunat committed Feb 19, 2019
    Copy the full SHA
    28f9452 View commit details
  4. systemd: 239.20190110 -> 239.20190219

    Fix CVE-2019-6454.
    
    (cherry picked from commit e949145)
    fpletz committed Feb 19, 2019
    Copy the full SHA
    90f99f4 View commit details
  5. gitlab-workhorse: 8.0.1 -> 8.0.2

    (cherry picked from commit 75f66b1)
    flokli authored and fpletz committed Feb 19, 2019
    Copy the full SHA
    ba65001 View commit details
  6. gitlab: 11.7.4 -> 11.7.5

    (cherry picked from commit 7f6351a)
    flokli authored and fpletz committed Feb 19, 2019
    Copy the full SHA
    5db0361 View commit details
  7. gitlab-ee: 11.7.4 -> 11.7.5

    (cherry picked from commit f4a7c16)
    flokli authored and fpletz committed Feb 19, 2019
    Copy the full SHA
    185ab27 View commit details

Commits on Feb 20, 2019

  1. autojump: creates links required by oh-my-zsh for autojump.

    The autojump plugin in oh-my-zsh assumes autojump.zsh resides in
    /run/current-system/sw/share/autojump/ but these links are not created
    by default.
    
    The new programs.autojump.enable option forces the creation of these
    links.
    
    (cherry picked from commit 0d749e5)
    Signed-off-by: Domen Kožar <domen@dev.si>
    bfortz authored and domenkozar committed Feb 20, 2019
    Copy the full SHA
    1e9c144 View commit details
  2. autodump: pulling package when programs.autojump.enable is true

    (cherry picked from commit 0bca738)
    Signed-off-by: Domen Kožar <domen@dev.si>
    bfortz authored and domenkozar committed Feb 20, 2019
    Copy the full SHA
    8e4e54b View commit details
  3. autojump: autoload when programs.autojump.enable is set.

    (cherry picked from commit cd8ffef)
    Signed-off-by: Domen Kožar <domen@dev.si>
    bfortz authored and domenkozar committed Feb 20, 2019
    Copy the full SHA
    3cd9396 View commit details
  4. openscad: enableParallelBuilding = false;

    Discussion: NixOS/nixpkgs@c68dc2212e22
    (cherry picked from commit 28d983f)
    vcunat committed Feb 20, 2019
    Copy the full SHA
    4277563 View commit details
  5. linux: 4.4.174 -> 4.4.175

    (cherry picked from commit 9deab03)
    NeQuissimus committed Feb 20, 2019
    Copy the full SHA
    0dcd0ff View commit details
  6. linux: 4.9.158 -> 4.9.159

    (cherry picked from commit 85733d1)
    NeQuissimus committed Feb 20, 2019
    Copy the full SHA
    a17011c View commit details
  7. linux: 4.14.101 -> 4.14.102

    (cherry picked from commit 70643f0)
    NeQuissimus committed Feb 20, 2019
    Copy the full SHA
    7536ce9 View commit details
  8. linux: 4.19.23 -> 4.19.24

    (cherry picked from commit a1cf586)
    NeQuissimus committed Feb 20, 2019
    Copy the full SHA
    63a0988 View commit details

Commits on Feb 21, 2019

  1. elasticsearch: Add zlib to buildInputs for unfree

    The unfree variant of elasticsearch uses autoPatchelfHook and since we
    removed the dependency on file for the hook itself in
    58a97df we no longer have zlib
    propagated.
    
    So we need to explicitly state that dependency here.
    
    Signed-off-by: aszlig <aszlig@nix.build>
    Cc: @apeschar, @basvandijk
    (cherry picked from commit 8df68a9)
    aszlig authored and thefloweringash committed Feb 21, 2019
    Copy the full SHA
    b36e287 View commit details
  2. Merge branch 'staging-18.09' into release-18.09

    Just a systemd security patch.
    vcunat committed Feb 21, 2019
    Copy the full SHA
    1b621b8 View commit details
  3. Merge pull request #56127 from thefloweringash/fix-es6

    [18.09] elasticsearch: Add zlib to buildInputs for unfree
    worldofpeace authored Feb 21, 2019
    Copy the full SHA
    3276e04 View commit details

Commits on Feb 22, 2019

  1. busybox: patch CVE-2018-20679

    Fixes #54798.
    vcunat committed Feb 22, 2019
    Copy the full SHA
    23453d2 View commit details

Commits on Feb 23, 2019

  1. wire-desktop: 3.2.2840 -> 3.3.2872 (#47941)

    (cherry picked from commit fa3ec9c)
    worldofpeace committed Feb 23, 2019
    Copy the full SHA
    69f7e37 View commit details
  2. wire-desktop: don't explicitly set phases

    part of #28910
    
    (cherry picked from commit 48a3ea0)
    worldofpeace committed Feb 23, 2019
    Copy the full SHA
    41b31cd View commit details
  3. wire-desktop: 3.3.2872 -> 3.5.2881

    (cherry picked from commit 7475db0)
    jollheef authored and worldofpeace committed Feb 23, 2019
    Copy the full SHA
    5432f7f View commit details
  4. wire-desktop: 3.5.2881 -> 3.6.2885

    (cherry picked from commit 8ba66c2)
    worldofpeace committed Feb 23, 2019
    Copy the full SHA
    8ee1cdd View commit details
  5. nixos/home-assistant: use availableComponents of configured package

    fixes #55958
    
    (cherry picked from commit e211f55)
    Robert Schütz committed Feb 23, 2019
    Copy the full SHA
    753f58d View commit details
  6. nextcloud: 15.0.2 -> 15.0.4

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/nextcloud/versions
    
    (cherry picked from commit a45b203)
    r-ryantm authored and Lassulus committed Feb 23, 2019
    Copy the full SHA
    af75060 View commit details
  7. Merge pull request #56242 from Lassulus/18.09-nextcloud

    [18.09] nextcloud: 15.0.2 -> 15.0.4
    flokli authored Feb 23, 2019
    Copy the full SHA
    48b4e1c View commit details
Showing with 866 additions and 656 deletions.
  1. +1 −0 nixos/modules/module-list.nix
  2. +33 −0 nixos/modules/programs/autojump.nix
  3. +1 −1 nixos/modules/services/misc/home-assistant.nix
  4. +5 −5 pkgs/applications/editors/vscode/default.nix
  5. +3 −0 pkgs/applications/graphics/openscad/default.nix
  6. +9 −9 pkgs/applications/networking/browsers/chromium/upstream-info.nix
  7. +35 −28 pkgs/applications/networking/instant-messengers/wire-desktop/default.nix
  8. +12 −12 pkgs/applications/version-management/gitlab/data.json
  9. +2 −2 pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix
  10. +2 −8 pkgs/development/compilers/adoptopenjdk-bin/generate-sources.py
  11. +5 −4 pkgs/development/compilers/adoptopenjdk-bin/jdk-darwin-base.nix
  12. +7 −3 pkgs/development/compilers/adoptopenjdk-bin/jdk-linux-base.nix
  13. +1 −2 pkgs/development/compilers/adoptopenjdk-bin/jdk11-darwin.nix
  14. +46 −32 pkgs/development/compilers/adoptopenjdk-bin/sources.json
  15. +16 −0 pkgs/development/libraries/openssl/1.0.2/nix-ssl-cert-file.patch
  16. 0 pkgs/development/libraries/openssl/{ → 1.0.2}/use-etc-ssl-certs-darwin.patch
  17. 0 pkgs/development/libraries/openssl/{ → 1.0.2}/use-etc-ssl-certs.patch
  18. +0 −12 pkgs/development/libraries/openssl/darwin-arch.patch
  19. +11 −9 pkgs/development/libraries/openssl/default.nix
  20. +1 −0 pkgs/development/libraries/qt-5/5.11/default.nix
  21. +1 −1 pkgs/development/libraries/qt-5/5.11/fetch.sh
  22. +73 −0 pkgs/development/libraries/qt-5/5.11/qtbase-darwin-revert-69221.patch
  23. +150 −172 pkgs/development/libraries/qt-5/5.11/qtbase.patch
  24. +160 −160 pkgs/development/libraries/qt-5/5.11/srcs.nix
  25. +51 −2 pkgs/development/libraries/qt-5/5.6/default.nix
  26. +20 −1 pkgs/development/libraries/qt-5/5.9/default.nix
  27. +1 −1 pkgs/development/libraries/qt-5/5.9/fetch.sh
  28. +0 −13 pkgs/development/libraries/qt-5/5.9/qtbase-darwin.patch
  29. +156 −156 pkgs/development/libraries/qt-5/5.9/srcs.nix
  30. +6 −1 pkgs/os-specific/linux/busybox/default.nix
  31. +2 −2 pkgs/os-specific/linux/kernel/linux-4.14.nix
  32. +2 −2 pkgs/os-specific/linux/kernel/linux-4.19.nix
  33. +2 −2 pkgs/os-specific/linux/kernel/linux-4.4.nix
  34. +2 −2 pkgs/os-specific/linux/kernel/linux-4.9.nix
  35. +2 −2 pkgs/os-specific/linux/systemd/default.nix
  36. +2 −2 pkgs/servers/nextcloud/default.nix
  37. +2 −1 pkgs/servers/search/elasticsearch/default.nix
  38. +3 −2 pkgs/servers/sql/postgresql/default.nix
  39. +35 −0 pkgs/tools/archivers/unzip/CVE-2018-18384.patch
  40. +1 −0 pkgs/tools/archivers/unzip/default.nix
  41. +5 −7 pkgs/top-level/all-packages.nix
1 change: 1 addition & 0 deletions nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
@@ -78,6 +78,7 @@
./misc/version.nix
./programs/adb.nix
./programs/atop.nix
./programs/autojump.nix
./programs/bash/bash.nix
./programs/bcc.nix
./programs/blcr.nix
33 changes: 33 additions & 0 deletions nixos/modules/programs/autojump.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{ config, lib, pkgs, ... }:

with lib;

let
cfg = config.programs.autojump;
prg = config.programs;
in
{
options = {
programs.autojump = {

enable = mkOption {
type = types.bool;
default = false;
description = ''
Whether to enable autojump.
'';
};
};
};

###### implementation

config = mkIf cfg.enable {
environment.pathsToLink = [ "/share/autojump" ];
environment.systemPackages = [ pkgs.autojump ];

programs.bash.interactiveShellInit = "source ${pkgs.autojump}/share/autojump/autojump.bash";
programs.zsh.interactiveShellInit = mkIf prg.zsh.enable "source ${pkgs.autojump}/share/autojump/autojump.zsh";
programs.fish.interactiveShellInit = mkIf prg.fish.enable "source ${pkgs.autojump}/share/autojump/autojump.fish";
};
}
2 changes: 1 addition & 1 deletion nixos/modules/services/misc/home-assistant.nix
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ let
(builtins.toJSON (if cfg.applyDefaultConfig then
(lib.recursiveUpdate defaultConfig cfg.config) else cfg.config));

availableComponents = pkgs.home-assistant.availableComponents;
availableComponents = cfg.package.availableComponents;

# Given component "parentConfig.platform", returns whether config.parentConfig
# is a list containing a set with set.platform == "platform".
10 changes: 5 additions & 5 deletions pkgs/applications/editors/vscode/default.nix
Original file line number Diff line number Diff line change
@@ -16,16 +16,16 @@ let
}.${system};

sha256 = {
"i686-linux" = "09mgvff27iljj9z7h0xxmr6152hcxh7qqxl3i7wdc55ra1rsjq1n";
"x86_64-linux" = "1gvlvg3cjsscx6khy5gxd4wnb069kska00qdfwcq4kn7x1z04xnz";
"x86_64-darwin" = "1mf9nyjnxgmzai7rfd1rkwk0wvil0ripg3mh8icg4mld2jjz8rsy";
"i686-linux" = "04kbx1cx40lsy9irxy1arp1rixzk49ldhg34w3llmfbx63a4hchf";
"x86_64-linux" = "1plvx0mjcbizl6iffib95p5224r9frf0mn6c5xp14p3qnrp32jhm";
"x86_64-darwin" = "14h9gs6jpxydgd1h16ybq3ifw5jc7k83yg22pw3sk6vhy7hx7pxr";
}.${system};

archive_fmt = if system == "x86_64-darwin" then "zip" else "tar.gz";
in
stdenv.mkDerivation rec {
name = "vscode-${version}";
version = "1.31.0";
version = "1.31.1";

src = fetchurl {
name = "VSCode_${version}_${plat}.${archive_fmt}";
@@ -94,7 +94,7 @@ in
and code refactoring. It is also customizable, so users can change the
editor's theme, keyboard shortcuts, and preferences
'';
homepage = http://code.visualstudio.com/;
homepage = https://code.visualstudio.com/;
downloadPage = https://code.visualstudio.com/Updates;
license = licenses.unfree;
maintainers = with maintainers; [ eadwu ];
3 changes: 3 additions & 0 deletions pkgs/applications/graphics/openscad/default.nix
Original file line number Diff line number Diff line change
@@ -28,6 +28,9 @@ stdenv.mkDerivation rec {

qmakeFlags = [ "VERSION=${version}" ];

# src/lexer.l:36:10: fatal error: parser.hxx: No such file or directory
enableParallelBuilding = false; # true by default due to qmake

doCheck = false;

meta = {
18 changes: 9 additions & 9 deletions pkgs/applications/networking/browsers/chromium/upstream-info.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# This file is autogenerated from update.sh in the same directory.
{
beta = {
sha256 = "1kbcn8yzgrn41d12806bsycnw6xyjbgv4d8nk0y4x2hymg34vc2k";
sha256bin64 = "0irafrmz9c3s8bdkqkwhj96v090ynvvbs50qzcdmidw8iqh2x1f8";
version = "73.0.3683.27";
sha256 = "0gd426a9xcgs8a9286gavziysq6fw1ilaifsna396dbdm8b571wi";
sha256bin64 = "05p20l0969rppbyn7965k78ccynng47rg7d7h7piqiwnm6ffg9yx";
version = "73.0.3683.39";
};
dev = {
sha256 = "0gyzil473kn7mqpa1dp3pai0x7vk8rw2bkqr3z0p33fx2g7b7y5s";
sha256bin64 = "1clr6xr08mmzmi71jy5ri4b2cp4qaf5apynbd9gnrp6qiy04rmn2";
version = "73.0.3683.20";
sha256 = "1yyzhw5zv803ysdj7zf0imdw9cf0mdlw30vphcb59a93nnvhkbb7";
sha256bin64 = "1a1dswkfc4x2rslkb899fgywv5mfrmcp1d8wxy7h034504r8gy87";
version = "74.0.3702.0";
};
stable = {
sha256 = "0fxavi4nwfiyb15lqm02vlq6kb8i4ipxnd7hp45bm7jdmhmgbnmj";
sha256bin64 = "1gz1ga8d3a4q1n6bdb79wv8ldlksvj0mlnrs5k1safwzlv11prsx";
version = "72.0.3626.96";
sha256 = "0bcc0iksk2v30drwd5zbw7v6sfbw16jqllc12ks2nifrvh058jjp";
sha256bin64 = "0azyhnmdg3grladpkpsv67zxqiqf5a3x9qjfj8h831kh7i7m3gy8";
version = "72.0.3626.109";
};
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{ stdenv, lib, fetchurl, dpkg, makeDesktopItem, gnome2, gtk2, atk, cairo, pango, gdk_pixbuf, glib
, freetype, fontconfig, dbus, libnotify, libX11, xorg, libXi, libXcursor, libXdamage
, libXrandr, libXcomposite, libXext, libXfixes, libXrender, libXtst, libXScrnSaver
, nss, nspr, alsaLib, cups, expat, udev, xdg_utils, hunspell
{ stdenv, fetchurl, dpkg, makeDesktopItem, libuuid, gtk3, atk, cairo, pango
, gdk_pixbuf, glib, freetype, fontconfig, dbus, libnotify, libX11, xorg, libXi
, libXcursor, libXdamage, libXrandr, libXcomposite, libXext, libXfixes
, libXrender, libXtst, libXScrnSaver, nss, nspr, alsaLib, cups, expat, udev
, xdg_utils, hunspell, pulseaudio, pciutils, at-spi2-atk
}:
let
rpath = lib.makeLibraryPath [
rpath = stdenv.lib.makeLibraryPath [
alsaLib
atk
cairo
@@ -15,10 +16,10 @@ let
freetype
gdk_pixbuf
glib
gnome2.GConf
gtk2
pango
gtk3
at-spi2-atk
hunspell
libuuid
libnotify
libX11
libXcomposite
@@ -33,30 +34,33 @@ let
libXtst
nspr
nss
pango
pciutils
pulseaudio
stdenv.cc.cc
udev
xdg_utils
xorg.libxcb
];

version = "3.2.2840";
version = "3.6.2885";

plat = {
"i686-linux" = "i386";
"x86_64-linux" = "amd64";
}.${stdenv.hostPlatform.system};

sha256 = {
"i686-linux" = "071ddh2d8wmiybwafwyb97962zj358l0fq7g2r44231653sgybvq";
"x86_64-linux" = "0qp9ms94smnm7k47b0n0jdzvnm1b7gj25hyinsfc6lghrb6jqw3r";
"i686-linux" = "1lj2gjv69z94dj7b4zjhls420fs5zzxkdlwv25p2gp4lkv0v6l98";
"x86_64-linux" = "1dl88fpy8v3aprzdp1nnwg08sy7yiljqjnpnl3rw0h5nix6xmv9v";
}.${stdenv.hostPlatform.system};

in
stdenv.mkDerivation rec {
name = "wire-desktop-${version}";

src = fetchurl {
url = "https://wire-app.wire.com/linux/debian/pool/main/wire_${version}_${plat}.deb";
url = "https://wire-app.wire.com/linux/debian/pool/main/Wire-${version}_${plat}.deb";
inherit sha256;
};

@@ -70,35 +74,38 @@ in
categories = "Network;InstantMessaging;Chat;VideoConference";
};

phases = [ "unpackPhase" "installPhase" ];
dontBuild = true;
dontPatchELF = true;
dontConfigure = true;

nativeBuildInputs = [ dpkg ];
unpackPhase = "dpkg-deb -x $src .";
installPhase = ''
mkdir -p $out
cp -R opt $out
cp -R usr/share $out/share
mkdir -p "$out"
cp -R "opt" "$out"
cp -R "usr/share" "$out/share"
chmod -R g-w $out
chmod -R g-w "$out"
# Patch signal
# Patch wire-desktop
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
--set-rpath "${rpath}:$out/opt/wire-desktop" \
"$out/opt/wire-desktop/wire-desktop"
--set-rpath "${rpath}:$out/opt/Wire" \
"$out/opt/Wire/wire-desktop"
# Symlink to bin
mkdir -p $out/bin
ln -s "$out/opt/wire-desktop/wire-desktop" $out/bin/wire-desktop
mkdir -p "$out/bin"
ln -s "$out/opt/Wire/wire-desktop" "$out/bin/wire-desktop"
# Desktop file
mkdir -p $out/share/applications
cp ${desktopItem}/share/applications/* $out/share/applications
mkdir -p "$out/share/applications"
cp "${desktopItem}/share/applications/"* "$out/share/applications"
'';

meta = {
meta = with stdenv.lib; {
description = "A modern, secure messenger";
homepage = https://wire.com/;
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ worldofpeace ];
homepage = https://wire.com/;
license = licenses.gpl3;
maintainers = with maintainers; [ worldofpeace ];
platforms = [ "i686-linux" "x86_64-linux" ];
};
}
24 changes: 12 additions & 12 deletions pkgs/applications/version-management/gitlab/data.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
{
"ce": {
"version": "11.7.4",
"repo_hash": "0qq9snykdlpkpbznwpkv0n7bz1rsgz4z7lcjl4xkjxkf2gkf8pxp",
"deb_hash": "1j76jya0ydyg7v3vcdfjmcr5ir23yzdwmg9fxlirvgh74py7q85c",
"deb_url": "https://packages.gitlab.com/gitlab/gitlab-ce/packages/debian/stretch/gitlab-ce_11.7.4-ce.0_amd64.deb/download.deb",
"version": "11.7.5",
"repo_hash": "0bbyx9zmscf9273fgypb82gw166psy7d3p7dnwb6f5r9yz7rmhbn",
"deb_hash": "1m6hdvrz467q33z626l9f3d5pssl0bbj2hkqy5g0b05wvdznmldy",
"deb_url": "https://packages.gitlab.com/gitlab/gitlab-ce/packages/debian/stretch/gitlab-ce_11.7.5-ce.0_amd64.deb/download.deb",
"owner": "gitlab-org",
"repo": "gitlab-ce",
"rev": "v11.7.4",
"rev": "v11.7.5",
"passthru": {
"GITALY_SERVER_VERSION": "1.12.2",
"GITLAB_PAGES_VERSION": "1.3.1",
"GITLAB_SHELL_VERSION": "8.4.4",
"GITLAB_WORKHORSE_VERSION": "8.0.1"
"GITLAB_WORKHORSE_VERSION": "8.0.2"
}
},
"ee": {
"version": "11.7.4",
"repo_hash": "0riqww094ylbbwb9mhjpsqhrdpxlcf6rc5p796p7x7f46p31mcjb",
"deb_hash": "02hnhhyrm4a3lgwnl399byka2dr5q3pjirki447373270ca93h5i",
"deb_url": "https://packages.gitlab.com/gitlab/gitlab-ee/packages/debian/stretch/gitlab-ee_11.7.4-ee.0_amd64.deb/download.deb",
"version": "11.7.5",
"repo_hash": "05dzvqrdgxbzsrf9rbis5m3iic04midx2arxgg3g4f78qfjxzylm",
"deb_hash": "1nfd68vzy3zc6a3xn5lhr83kqv9d7aaxvzv4ca9awcz4va5b33kc",
"deb_url": "https://packages.gitlab.com/gitlab/gitlab-ee/packages/debian/stretch/gitlab-ee_11.7.5-ee.0_amd64.deb/download.deb",
"owner": "gitlab-org",
"repo": "gitlab-ee",
"rev": "v11.7.4-ee",
"rev": "v11.7.5-ee",
"passthru": {
"GITALY_SERVER_VERSION": "1.12.2",
"GITLAB_PAGES_VERSION": "1.3.1",
"GITLAB_SHELL_VERSION": "8.4.4",
"GITLAB_WORKHORSE_VERSION": "8.0.1"
"GITLAB_WORKHORSE_VERSION": "8.0.2"
}
}
}
Original file line number Diff line number Diff line change
@@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
name = "gitlab-workhorse-${version}";

version = "8.0.1";
version = "8.0.2";

src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitlab-workhorse";
rev = "v${version}";
sha256 = "1aslcadag1q2rdirf9m0dl5vfaz8v3yy1232mvyjyvy1wb51pf4q";
sha256 = "12xwr9yl59i58gnf0yn5yjp7zwz3s46042lk7rihvvzsa0kax690";
};

buildInputs = [ git go ];
10 changes: 2 additions & 8 deletions pkgs/development/compilers/adoptopenjdk-bin/generate-sources.py
Original file line number Diff line number Diff line change
@@ -38,21 +38,15 @@ def generate_sources(release, assets):
type_map = out.setdefault(asset["os"], {})
impl_map = type_map.setdefault(asset["binary_type"], {})
arch_map = impl_map.setdefault(asset["openjdk_impl"], {
"version": version,
"build": build,
"packageType": asset["binary_type"],
"vmType": asset["openjdk_impl"],
})

if arch_map["version"] != version or arch_map["build"] != build:
print("error: architectures have different latest versions ({}+{} vs {}+{})".format(
arch_map["version"], arch_map["build"], version, build
), file=sys.stderr)
sys.exit(1)

arch_map[arch_to_nixos[asset["architecture"]]] = {
"url": asset["binary_link"],
"sha256": get_sha256(asset["checksum_link"]),
"version": version,
"build": build,
}

return out
Original file line number Diff line number Diff line change
@@ -5,13 +5,14 @@ sourcePerArch:
, fetchurl
}:

let result = stdenv.mkDerivation rec {
let cpuName = stdenv.hostPlatform.parsed.cpu.name;
result = stdenv.mkDerivation rec {
name = if sourcePerArch.packageType == "jdk"
then "adoptopenjdk-${sourcePerArch.vmType}-bin-${sourcePerArch.version}"
else "adoptopenjdk-${sourcePerArch.packageType}-${sourcePerArch.vmType}-bin-${sourcePerArch.version}";
then "adoptopenjdk-${sourcePerArch.vmType}-bin-${sourcePerArch.${cpuName}.version}"
else "adoptopenjdk-${sourcePerArch.packageType}-${sourcePerArch.vmType}-bin-${sourcePerArch.${cpuName}.version}";

src = fetchurl {
inherit (sourcePerArch.${stdenv.hostPlatform.parsed.cpu.name}) url sha256;
inherit (sourcePerArch.${cpuName}) url sha256;
};

# See: https://github.com/NixOS/patchelf/issues/10
10 changes: 7 additions & 3 deletions pkgs/development/compilers/adoptopenjdk-bin/jdk-linux-base.nix
Original file line number Diff line number Diff line change
@@ -42,15 +42,19 @@ let
xorg.libXrender
stdenv.cc.cc
]);

cpuName = stdenv.hostPlatform.parsed.cpu.name;
in

let result = stdenv.mkDerivation rec {
name = if sourcePerArch.packageType == "jdk"
then "adoptopenjdk-${sourcePerArch.vmType}-bin-${sourcePerArch.version}"
else "adoptopenjdk-${sourcePerArch.packageType}-${sourcePerArch.vmType}-bin-${sourcePerArch.version}";
then "adoptopenjdk-${sourcePerArch.vmType}-bin-${version}"
else "adoptopenjdk-${sourcePerArch.packageType}-${sourcePerArch.vmType}-bin-${version}";

version = sourcePerArch.${cpuName}.version or (throw "unsupported CPU ${cpuName}");

src = fetchurl {
inherit (sourcePerArch.${stdenv.hostPlatform.parsed.cpu.name}) url sha256;
inherit (sourcePerArch.${cpuName}) url sha256;
};

nativeBuildInputs = [ file ];
3 changes: 1 addition & 2 deletions pkgs/development/compilers/adoptopenjdk-bin/jdk11-darwin.nix
Original file line number Diff line number Diff line change
@@ -5,6 +5,5 @@ in
jdk-hotspot = import ./jdk-darwin-base.nix sources.openjdk11.mac.jdk.hotspot;
jre-hotspot = import ./jdk-darwin-base.nix sources.openjdk11.mac.jre.hotspot;
jdk-openj9 = import ./jdk-darwin-base.nix sources.openjdk11.mac.jdk.openj9;
# openj9 jre builds are currently missing: https://github.com/AdoptOpenJDK/openjdk-build/issues/796
#jre-openj9 = import ./jdk-darwin-base.nix sources.openjdk11.mac.jre.openj9;
jre-openj9 = import ./jdk-darwin-base.nix sources.openjdk11.mac.jre.openj9;
}
Loading