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: 1f80b4d15e99
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: 6d68b920eb2d
Choose a head ref

Commits on May 18, 2020

  1. dovecot: 2.3.9.3 -> 2.3.10

    (cherry picked from commit 8d08f45)
    r-ryantm authored and mweinelt committed May 18, 2020

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    9e78133 View commit details
  2. dovecot: v2.3.10 → v2.3.10.1

    Fixes: CVE-2020-10957, CVE-2020-10958, CVE-2020-10967
    (cherry picked from commit 6cf4885)
    mweinelt committed May 18, 2020

    Unverified

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

Commits on May 20, 2020

  1. aws-sdk-cpp: Fix library and include paths in generated cmake files

    AWS's SDK by default tries to prepend its install root to each of the
    library paths; this obviously fails with the absolute paths that Nix
    gives it. Worse, it computes the installation root by walking up the
    filesystem from its cmake file, so even if the AWSSDK_ROOT_DIR is
    explicitly set to the root directory, it gets replaced with the path
    to the derivation's dev output.
    
    This is all fixed with a patch to the cmake files that generate the
    installed configuration.
    
    Once this is fixed, it *still* doesn't work because the export
    generator built into cmake insists on adding `$out/include` to the
    header search path; when importing this configuration in another
    package, cmake will fail because `$out/include` doesn't exist (After
    all, it was relocated by a fixup hook). A small postFixupHook will
    recreate the directory and make cmake happy.
    
    (cherry picked from commit 9d78852)
    thequux authored and bhipple committed May 20, 2020
    Copy the full SHA
    015ac0c View commit details
  2. boost: Fix library and include paths in generated cmake files

    Boost generates its installed cmake configuration using custom logic
    in its own build system; while this logic *knows* where it should be
    installed, the generated config overrides the correct information with
    new paths based on the location of the cmake configuration file in an
    attempt to let the package be relocated after installation.
    
    This patch simply undoes that.
    
    (cherry picked from commit 777df0b)
    thequux authored and bhipple committed May 20, 2020
    Copy the full SHA
    afb1e72 View commit details
  3. Copy the full SHA
    81d9be3 View commit details
  4. Merge pull request #88240 from kthielen/hobbes/20200519

    [20.03] hobbes: 2020-03-10 -> 2020-05-19
    bhipple authored May 20, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    942ce73 View commit details
  5. Merge pull request #88081 from mweinelt/20.03/dovecot

    [20.03] dovecot: v2.3.9.3 → v2.3.10.1
    andir authored May 20, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f45ccd9 View commit details
  6. timewarrior: Fix homepage

    Thanks to repology.org
    
    Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
    (cherry picked from commit 1b5ae92)
    matthiasbeyer authored and Ma27 committed May 20, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    7063fb7 View commit details
  7. Verified

    This commit was signed with the committer’s verified signature.
    primeos Michael Weiss
    Copy the full SHA
    2de75ca View commit details
  8. nixos-containers: Add support for custom nixpkgs argument

    (cherry picked from commit ab37d7e)
    adisbladis committed May 20, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    aa72037 View commit details
  9. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    906f7fb View commit details
  10. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    7a29263 View commit details
  11. linux: 4.4.223 -> 4.4.224

    NeQuissimus committed May 20, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    cfbfd2b View commit details
  12. linux: 4.9.223 -> 4.9.224

    NeQuissimus committed May 20, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    f0e8db1 View commit details
  13. linux: 5.4.41 -> 5.4.42

    NeQuissimus committed May 20, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    dd91367 View commit details
  14. linux: 5.6.13 -> 5.6.14

    NeQuissimus committed May 20, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    9131abd View commit details
  15. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    0436b0d View commit details
  16. riot-desktop: 1.6.0 -> 1.6.1

    https://github.com/vector-im/riot-desktop/releases/tag/v1.6.1
    
    Also updated the package since `riot-desktop` has been moved to its own
    repository (`github.com/vector-im/riot-desktop`).
    
    (cherry picked from commit 307dfd9)
    Ma27 committed May 20, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    5d12be8 View commit details
  17. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    3247b10 View commit details
  18. Merge pull request #88402 from adisbladis/nixos-containers-pkgs-2003

    nixos-containers: Add support for custom nixpkgs argument (20.03 backport)
    adisbladis authored May 20, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    52e6737 View commit details
  19. Merge pull request #88423 from Ma27/backport-matrix-synapse

    [20.03] matrix-synapse: 1.12.4 -> 1.13.0
    Ma27 authored May 20, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    17fba7a View commit details
  20. Merge pull request #88364 from primeos/chromium-backport

    [20.03] chromium: 81.0.4044.138 -> 83.0.4103.61 (backport)
    primeos authored May 20, 2020

    Verified

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

Commits on May 21, 2020

  1. gnomeExtensions: add 'uuid' attr to all extensions

    Some already have it, this adds it to the rest.
    
    With all extensions having an 'uuid' attr we can do cool things like
    declaratively enable extensions on NixOS.
    
    (cherry picked from commit eb12149)
    bjornfor committed May 21, 2020
    Copy the full SHA
    6d68b92 View commit details
Showing with 5,488 additions and 572 deletions.
  1. +6 −0 maintainers/maintainer-list.nix
  2. +16 −2 nixos/modules/virtualisation/containers.nix
  3. +1 −0 nixos/tests/all-tests.nix
  4. +42 −0 nixos/tests/containers-custom-pkgs.nix
  5. +1 −1 pkgs/applications/misc/timewarrior/default.nix
  6. +2 −5 pkgs/applications/networking/browsers/chromium/common.nix
  7. +1 −5 pkgs/applications/networking/browsers/chromium/default.nix
  8. +9 −9 pkgs/applications/networking/browsers/chromium/upstream-info.nix
  9. +99 −3 pkgs/applications/networking/instant-messengers/riot/riot-desktop-package.json
  10. +5,155 −507 pkgs/applications/networking/instant-messengers/riot/riot-desktop-yarndeps.nix
  11. +8 −10 pkgs/applications/networking/instant-messengers/riot/riot-desktop.nix
  12. +2 −2 pkgs/applications/networking/instant-messengers/riot/riot-web.nix
  13. +3 −3 pkgs/applications/networking/instant-messengers/riot/update-riot-desktop.sh
  14. +2 −0 pkgs/desktops/gnome-3/extensions/arc-menu/default.nix
  15. +2 −0 pkgs/desktops/gnome-3/extensions/dash-to-dock/default.nix
  16. +2 −0 pkgs/desktops/gnome-3/extensions/dash-to-panel/default.nix
  17. +2 −0 pkgs/desktops/gnome-3/extensions/gsconnect/default.nix
  18. +2 −0 pkgs/desktops/gnome-3/extensions/no-title-bar/default.nix
  19. +2 −0 pkgs/desktops/gnome-3/extensions/pidgin-im-integration/default.nix
  20. +2 −0 pkgs/desktops/gnome-3/extensions/topicons-plus/default.nix
  21. +75 −0 pkgs/development/libraries/aws-sdk-cpp/cmake-dirs.patch
  22. +7 −0 pkgs/development/libraries/aws-sdk-cpp/default.nix
  23. +21 −0 pkgs/development/libraries/boost/cmake-paths.patch
  24. +2 −1 pkgs/development/libraries/boost/generic.nix
  25. +4 −5 pkgs/development/tools/hobbes/default.nix
  26. +2 −2 pkgs/os-specific/linux/kernel/linux-4.14.nix
  27. +2 −2 pkgs/os-specific/linux/kernel/linux-4.19.nix
  28. +2 −2 pkgs/os-specific/linux/kernel/linux-4.4.nix
  29. +2 −2 pkgs/os-specific/linux/kernel/linux-4.9.nix
  30. +2 −2 pkgs/os-specific/linux/kernel/linux-5.4.nix
  31. +2 −2 pkgs/os-specific/linux/kernel/linux-5.6.nix
  32. +5 −4 pkgs/servers/mail/dovecot/default.nix
  33. +2 −2 pkgs/servers/matrix-synapse/default.nix
  34. +1 −1 pkgs/top-level/all-packages.nix
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -3918,6 +3918,12 @@
githubId = 10544;
name = "Giuluo Eulisse";
};
kthielen = {
email = "kthielen@gmail.com";
github = "kthielen";
githubId = 1409287;
name = "Kalani Thielen";
};
ktor = {
email = "kruszewsky@gmail.com";
github = "ktor";
18 changes: 16 additions & 2 deletions nixos/modules/virtualisation/containers.nix
Original file line number Diff line number Diff line change
@@ -463,10 +463,15 @@ in
A specification of the desired configuration of this
container, as a NixOS module.
'';
type = lib.mkOptionType {
type = let
confPkgs = if config.pkgs == null then pkgs else config.pkgs;
in lib.mkOptionType {
name = "Toplevel NixOS config";
merge = loc: defs: (import ../../lib/eval-config.nix {
merge = loc: defs: (import (confPkgs.path + "/nixos/lib/eval-config.nix") {
inherit system;
pkgs = confPkgs;
baseModules = import (confPkgs.path + "/nixos/modules/module-list.nix");
inherit (confPkgs) lib;
modules =
let
extraConfig = {
@@ -515,6 +520,15 @@ in
'';
};

pkgs = mkOption {
type = types.nullOr types.attrs;
default = null;
example = literalExample "pkgs";
description = ''
Customise which nixpkgs to use for this container.
'';
};

ephemeral = mkOption {
type = types.bool;
default = false;
1 change: 1 addition & 0 deletions nixos/tests/all-tests.nix
Original file line number Diff line number Diff line change
@@ -51,6 +51,7 @@ in
codimd = handleTest ./codimd.nix {};
consul = handleTest ./consul.nix {};
containers-bridge = handleTest ./containers-bridge.nix {};
containers-custom-pkgs.nix = handleTest ./containers-custom-pkgs.nix {};
containers-ephemeral = handleTest ./containers-ephemeral.nix {};
containers-extra_veth = handleTest ./containers-extra_veth.nix {};
containers-hosts = handleTest ./containers-hosts.nix {};
42 changes: 42 additions & 0 deletions nixos/tests/containers-custom-pkgs.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Test for NixOS' container support.

import ./make-test-python.nix ({ pkgs, lib, ...} : let

customPkgs = pkgs // {
hello = pkgs.hello.overrideAttrs(old: {
name = "custom-hello";
});
};

in {
name = "containers-hosts";
meta = with lib.maintainers; {
maintainers = [ adisbladis ];
};

machine =
{ ... }:
{
virtualisation.memorySize = 256;
virtualisation.vlans = [];

containers.simple = {
autoStart = true;
pkgs = customPkgs;
config = {pkgs, config, ... }: {
environment.systemPackages = [
pkgs.hello
];
};
};

};

testScript = ''
start_all()
machine.wait_for_unit("default.target")
machine.succeed(
"test $(nixos-container run simple -- readlink -f /run/current-system/sw/bin/hello) = ${customPkgs.hello}/bin/hello"
)
'';
})
2 changes: 1 addition & 1 deletion pkgs/applications/misc/timewarrior/default.nix
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {

meta = with stdenv.lib; {
description = "A command-line time tracker";
homepage = https://taskwarrior.org/docs/timewarrior;
homepage = "https://timewarrior.net";
license = licenses.mit;
maintainers = with maintainers; [ matthiasbeyer mrVanDalo ];
platforms = platforms.linux ++ platforms.darwin;
7 changes: 2 additions & 5 deletions pkgs/applications/networking/browsers/chromium/common.nix
Original file line number Diff line number Diff line change
@@ -149,13 +149,10 @@ let
#
# ++ optionals (channel == "dev") [ ( githubPatch "<patch>" "0000000000000000000000000000000000000000000000000000000000000000" ) ]
# ++ optional (versionRange "68" "72") ( githubPatch "<patch>" "0000000000000000000000000000000000000000000000000000000000000000" )
] ++ optionals (useVaapi) ([
] ++ optionals (useVaapi) [
# source: https://aur.archlinux.org/cgit/aur.git/tree/vaapi-fix.patch?h=chromium-vaapi
./patches/vaapi-fix.patch
] ++ optionals (versionRange "81" "82") [
(githubPatch "5b2ff215473e0526b5b24aeff4ad90d369b21c75" "0n00vh8wfpn2ay5fqsxcsx0zadnv7mihm72bcvnrfzh75nzbg902")
(githubPatch "98e343ab369e4262511b5fce547728e3e5eefba8" "00wwp653jk0k0yvix00vr7ymgck9dj7fxjwx4nc67ynn84dh6064")
]);
];

postPatch = ''
# We want to be able to specify where the sandbox is via CHROME_DEVEL_SANDBOX
6 changes: 1 addition & 5 deletions pkgs/applications/networking/browsers/chromium/default.nix
Original file line number Diff line number Diff line change
@@ -20,9 +20,7 @@
}:

let
llvmPackages = if channel != "stable"
then llvmPackages_10
else llvmPackages_9;
llvmPackages = llvmPackages_10;
stdenv = llvmPackages.stdenv;

callPackage = newScope chromium;
@@ -34,8 +32,6 @@ let

mkChromiumDerivation = callPackage ./common.nix ({
inherit gnome gnomeSupport gnomeKeyringSupport proprietaryCodecs cupsSupport pulseSupport useVaapi useOzone;
gnChromium = gn;
} // lib.optionalAttrs (channel != "stable") {
# TODO: Remove after we can update gn for the stable channel (backward incompatible changes):
gnChromium = gn.overrideAttrs (oldAttrs: {
version = "2020-03-23";
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 = "0z9p4v5mkinf7hbdagh4bz6ymqjxg3df3wjpvm201ilzzngmjqz1";
sha256bin64 = "1srvlirhnynh0q2a17p8z13p7r54z0cchh1d1h07hqljnwmsf8qj";
version = "83.0.4103.34";
sha256 = "1g052h8g458qx04wbkz93j7hciw12b2b3w93x2849ag69q6g4qa9";
sha256bin64 = "0lkjl09vnj2bd1jry3awbg4z34vjnzd88p73a6x7pyrfq079l6vb";
version = "83.0.4103.61";
};
dev = {
sha256 = "178fc112bsbrgj2hss78y8rhnz8hl85fr33gawk9fz88zk5qz7xd";
sha256bin64 = "06qra245l2bbgxc3k04aabkgq1qnzybnrjhrjb25vriv31ji36b1";
version = "84.0.4128.3";
sha256 = "0f7m57acv79yzq3yg2xkchqqwisdgjv8h5xngp2i2v2md9jkfkbq";
sha256bin64 = "0b0w0nwa64gf99d617idjjgrjym3qc6p9h41kn5r9j2x46lxzply";
version = "84.0.4143.2";
};
stable = {
sha256 = "19kpzmqmld0m0nflx13w9flxfal19msnxhzl3lip1jqih65z4y7l";
sha256bin64 = "0sl4wv7npc3rhi7jgn679hi7j5ykzwpx5dahy78h87yfg4fx84wx";
version = "81.0.4044.138";
sha256 = "1g052h8g458qx04wbkz93j7hciw12b2b3w93x2849ag69q6g4qa9";
sha256bin64 = "1wji1ak6gi2a7lynxwvgpqsaz7zma9h2b9qbb5x3gzbv2dj37fmd";
version = "83.0.4103.61";
};
}
Original file line number Diff line number Diff line change
@@ -1,15 +1,111 @@
{
"name": "riot-web",
"name": "riot-desktop",
"productName": "Riot",
"main": "src/electron-main.js",
"version": "1.6.0",
"version": "1.6.1",
"description": "A feature-rich client for Matrix.org",
"author": "New Vector Ltd.",
"repository": {
"type": "git",
"url": "https://github.com/vector-im/riot-desktop"
},
"license": "Apache-2.0",
"files": [],
"scripts": {
"mkdirs": "mkdirp packages deploys",
"fetch": "yarn run mkdirs && node scripts/fetch-package.js",
"start": "electron .",
"lint": "eslint src/ scripts/ hak/",
"build:native": "yarn run hak",
"build32": "electron-builder --ia32",
"build64": "electron-builder --x64",
"build": "electron-builder",
"docker:setup": "docker build -t riot-desktop-dockerbuild dockerbuild",
"docker:build:native": "scripts/in-docker.sh yarn run hak",
"docker:build": "scripts/in-docker.sh yarn run build",
"docker:install": "scripts/in-docker.sh yarn install",
"debrepo": "scripts/mkrepo.sh",
"clean": "rimraf webapp.asar dist packages deploys",
"hak": "node scripts/hak/index.js"
},
"dependencies": {
"auto-launch": "^5.0.1",
"electron-store": "^2.0.0",
"electron-window-state": "^4.1.0",
"minimist": "^1.2.0",
"minimist": "^1.2.3",
"png-to-ico": "^1.0.2"
},
"devDependencies": {
"asar": "^2.0.1",
"electron-builder": "^22.3.2",
"electron-builder-squirrel-windows": "^22.3.2",
"electron-devtools-installer": "^2.2.4",
"electron-notarize": "^0.2.0",
"eslint": "^5.8.0",
"eslint-config-google": "^0.7.1",
"eslint-plugin-babel": "^4.1.2",
"find-npm-prefix": "^1.0.2",
"fs-extra": "^8.1.0",
"glob": "^7.1.6",
"matrix-js-sdk": "6.1.0",
"mkdirp": "^1.0.3",
"needle": "^2.3.2",
"node-pre-gyp": "^0.14.0",
"npm": "^6.13.7",
"rimraf": "^3.0.2",
"semver": "^7.1.3",
"tar": "^6.0.1"
},
"hakDependencies": {
"matrix-seshat": "^1.3.3"
},
"build": {
"appId": "im.riot.app",
"electronVersion": "8.0.3",
"files": [
"package.json",
{
"from": ".hak/hakModules",
"to": "node_modules"
},
"src/**"
],
"extraResources": [
{
"from": "res/img",
"to": "img"
},
"webapp.asar"
],
"linux": {
"target": "deb",
"category": "Network;InstantMessaging;Chat",
"maintainer": "support@riot.im",
"desktop": {
"StartupWMClass": "riot"
}
},
"mac": {
"category": "public.app-category.social-networking",
"darkModeSupport": true
},
"win": {
"target": {
"target": "squirrel"
},
"sign": "scripts/electron_winSign"
},
"directories": {
"output": "dist"
},
"afterSign": "scripts/electron_afterSign",
"protocols": [
{
"name": "riot",
"schemes": [
"riot"
]
}
]
}
}
5,662 changes: 5,155 additions & 507 deletions pkgs/applications/networking/instant-messengers/riot/riot-desktop-yarndeps.nix

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -8,20 +8,18 @@

let
executableName = "riot-desktop";
version = "1.6.0";
riot-web-src = fetchFromGitHub {
version = "1.6.1";
src = fetchFromGitHub {
owner = "vector-im";
repo = "riot-web";
repo = "riot-desktop";
rev = "v${version}";
sha256 = "16zm6l4c7vkfdlxh6gdw531k5r4v3mb0h66q41h94dvmj79dz2bj";
sha256 = "05mhapcgr1802c27428m8wkmw8qis1akv4m7z3m0l89wgv4kh6za";
};
electron = electron_7;

in mkYarnPackage rec {
name = "riot-desktop-${version}";
inherit version;

src = "${riot-web-src}/electron_app";
inherit version src;

packageJSON = ./riot-desktop-package.json;
yarnNix = ./riot-desktop-yarndeps.nix;
@@ -32,8 +30,8 @@ in mkYarnPackage rec {
# resources
mkdir -p "$out/share/riot"
ln -s '${riot-web}' "$out/share/riot/webapp"
cp -r './deps/riot-web' "$out/share/riot/electron"
cp -r './deps/riot-web/img' "$out/share/riot"
cp -r './deps/riot-desktop' "$out/share/riot/electron"
cp -r './deps/riot-desktop/res/img' "$out/share/riot"
rm "$out/share/riot/electron/node_modules"
cp -r './node_modules' "$out/share/riot/electron"
@@ -80,7 +78,7 @@ in mkYarnPackage rec {
description = "A feature-rich client for Matrix.org";
homepage = https://about.riot.im/;
license = licenses.asl20;
maintainers = with maintainers; [ pacien worldofpeace ];
maintainers = with maintainers; [ pacien worldofpeace ma27 ];
inherit (electron.meta) platforms;
};
}
Original file line number Diff line number Diff line change
@@ -12,11 +12,11 @@ let

in stdenv.mkDerivation rec {
pname = "riot-web";
version = "1.6.0";
version = "1.6.1";

src = fetchurl {
url = "https://github.com/vector-im/riot-web/releases/download/v${version}/riot-v${version}.tar.gz";
sha256 = "1mm4xk69ya1k3gz6jjhc4njx7b3rp157jmrqsxr5i382zs035ff7";
sha256 = "0mqb9y38vnngwz38qgdn24mspmk6zh4v1j778ppban034ga0almv";
};

installPhase = ''
Original file line number Diff line number Diff line change
@@ -9,9 +9,9 @@ if [ "$#" -ne 1 ] || [[ "$1" == -* ]]; then
exit 1
fi

RIOT_WEB_SRC="https://raw.githubusercontent.com/vector-im/riot-web/$1"
RIOT_WEB_SRC="https://raw.githubusercontent.com/vector-im/riot-desktop/$1"

wget "$RIOT_WEB_SRC/electron_app/package.json" -O riot-desktop-package.json
wget "$RIOT_WEB_SRC/electron_app/yarn.lock" -O riot-desktop-yarndeps.lock
wget "$RIOT_WEB_SRC/package.json" -O riot-desktop-package.json
wget "$RIOT_WEB_SRC/yarn.lock" -O riot-desktop-yarndeps.lock
yarn2nix --lockfile=riot-desktop-yarndeps.lock > riot-desktop-yarndeps.nix
rm riot-desktop-yarndeps.lock
2 changes: 2 additions & 0 deletions pkgs/desktops/gnome-3/extensions/arc-menu/default.nix
Original file line number Diff line number Diff line change
@@ -24,6 +24,8 @@ stdenv.mkDerivation rec {

makeFlags = [ "INSTALL_BASE=${placeholder "out"}/share/gnome-shell/extensions" ];

uuid = "arc-menu@linxgem33.com";

meta = with stdenv.lib; {
description = "Gnome shell extension designed to replace the standard menu found in Gnome 3";
license = licenses.gpl2Plus;
2 changes: 2 additions & 0 deletions pkgs/desktops/gnome-3/extensions/dash-to-dock/default.nix
Original file line number Diff line number Diff line change
@@ -17,6 +17,8 @@ stdenv.mkDerivation rec {

makeFlags = [ "INSTALLBASE=$(out)/share/gnome-shell/extensions" ];

uuid = "dash-to-dock@micxgx.gmail.com";

meta = with stdenv.lib; {
description = "A dock for the Gnome Shell";
license = licenses.gpl2;
2 changes: 2 additions & 0 deletions pkgs/desktops/gnome-3/extensions/dash-to-panel/default.nix
Original file line number Diff line number Diff line change
@@ -17,6 +17,8 @@ stdenv.mkDerivation rec {

makeFlags = [ "INSTALLBASE=$(out)/share/gnome-shell/extensions" ];

uuid = "dash-to-panel@jderose9.github.com";

meta = with stdenv.lib; {
description = "An icon taskbar for Gnome Shell";
license = licenses.gpl2;
2 changes: 2 additions & 0 deletions pkgs/desktops/gnome-3/extensions/gsconnect/default.nix
Original file line number Diff line number Diff line change
@@ -73,6 +73,8 @@ stdenv.mkDerivation rec {
done
'';

uuid = "gsconnect@andyholmes.github.io";

meta = with stdenv.lib; {
description = "KDE Connect implementation for Gnome Shell";
homepage = https://github.com/andyholmes/gnome-shell-extension-gsconnect/wiki;
2 changes: 2 additions & 0 deletions pkgs/desktops/gnome-3/extensions/no-title-bar/default.nix
Original file line number Diff line number Diff line change
@@ -25,6 +25,8 @@ stdenv.mkDerivation rec {

makeFlags = [ "INSTALLBASE=$(out)/share/gnome-shell/extensions" ];

uuid = "no-title-bar@franglais125.gmail.com";

meta = with stdenv.lib; {
description = "Integrates maximized windows with the top panel";
homepage = https://github.com/franglais125/no-title-bar;
Original file line number Diff line number Diff line change
@@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
mv *.js metadata.json dbus.xml schemas locale "$extensions_dir"
'';

uuid = "pidgin@muffinmad";

meta = with stdenv.lib; {
homepage = https://github.com/muffinmad/pidgin-im-gnome-shell-extension;
description = "Make Pidgin IM conversations appear in the Gnome Shell message tray";
2 changes: 2 additions & 0 deletions pkgs/desktops/gnome-3/extensions/topicons-plus/default.nix
Original file line number Diff line number Diff line change
@@ -17,6 +17,8 @@ stdenv.mkDerivation rec {

makeFlags = [ "INSTALL_PATH=$(out)/share/gnome-shell/extensions" ];

uuid = "TopIcons@phocean.net";

meta = with stdenv.lib; {
description = "Brings all icons back to the top panel, so that it's easier to keep track of apps running in the backround";
license = licenses.gpl2;
75 changes: 75 additions & 0 deletions pkgs/development/libraries/aws-sdk-cpp/cmake-dirs.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
diff --git a/cmake/AWSSDKConfig.cmake b/cmake/AWSSDKConfig.cmake
index e87252123e..5457bd5910 100644
--- a/cmake/AWSSDKConfig.cmake
+++ b/cmake/AWSSDKConfig.cmake
@@ -82,6 +82,7 @@ if (AWSSDK_ROOT_DIR)
)
else()
find_file(AWSSDK_CORE_HEADER_FILE Aws.h
+ "/${AWSSDK_INSTALL_INCLUDEDIR}/aws/core"
"/usr/${AWSSDK_INSTALL_INCLUDEDIR}/aws/core"
"/usr/local/${AWSSDK_INSTALL_INCLUDEDIR}/aws/core"
"C:/Progra~1/AWSSDK/${AWSSDK_INSTALL_INCLUDEDIR}/aws/core"
@@ -97,14 +98,18 @@ if (NOT AWSSDK_CORE_HEADER_FILE)
message(FATAL_ERROR "AWS SDK for C++ is missing, please install it first")
endif()

-# based on core header file path, inspects the actual AWSSDK_ROOT_DIR
-get_filename_component(AWSSDK_ROOT_DIR "${AWSSDK_CORE_HEADER_FILE}" PATH)
-get_filename_component(AWSSDK_ROOT_DIR "${AWSSDK_ROOT_DIR}" PATH)
-get_filename_component(AWSSDK_ROOT_DIR "${AWSSDK_ROOT_DIR}" PATH)
-get_filename_component(AWSSDK_ROOT_DIR "${AWSSDK_ROOT_DIR}" PATH)
-
-if (NOT AWSSDK_ROOT_DIR)
- message(FATAL_ERROR "AWSSDK_ROOT_DIR is not set or can't be calculated from the path of core header file")
+if (IS_ABSOLUTE ${AWSSDK_INSTALL_LIBDIR})
+ set(AWSSDK_ROOT_DIR "")
+else()
+ # based on core header file path, inspects the actual AWSSDK_ROOT_DIR
+ get_filename_component(AWSSDK_ROOT_DIR "${AWSSDK_CORE_HEADER_FILE}" PATH)
+ get_filename_component(AWSSDK_ROOT_DIR "${AWSSDK_ROOT_DIR}" PATH)
+ get_filename_component(AWSSDK_ROOT_DIR "${AWSSDK_ROOT_DIR}" PATH)
+ get_filename_component(AWSSDK_ROOT_DIR "${AWSSDK_ROOT_DIR}" PATH)
+
+ if (NOT AWSSDK_ROOT_DIR)
+ message(FATAL_ERROR "AWSSDK_ROOT_DIR is not set or can't be calculated from the path of core header file")
+ endif()
endif()


diff --git a/cmake/utilities.cmake b/cmake/utilities.cmake
index 283a14a138..646aea1da3 100644
--- a/cmake/utilities.cmake
+++ b/cmake/utilities.cmake
@@ -43,7 +43,8 @@ macro(setup_install)
EXPORT "${PROJECT_NAME}-targets"
ARCHIVE DESTINATION ${ARCHIVE_DIRECTORY}
LIBRARY DESTINATION ${LIBRARY_DIRECTORY}
- RUNTIME DESTINATION ${BINARY_DIRECTORY} )
+ RUNTIME DESTINATION ${BINARY_DIRECTORY}
+ INCLUDES DESTINATION ${INCLUDE_DIRECTORY} )

if (BUILD_SHARED_LIBS)
install(
@@ -57,7 +58,8 @@ macro(setup_install)
install (TARGETS ${PROJECT_NAME}
ARCHIVE DESTINATION ${ARCHIVE_DIRECTORY}/${SDK_INSTALL_BINARY_PREFIX}/${PLATFORM_INSTALL_QUALIFIER}/\${CMAKE_INSTALL_CONFIG_NAME}
LIBRARY DESTINATION ${LIBRARY_DIRECTORY}/${SDK_INSTALL_BINARY_PREFIX}/${PLATFORM_INSTALL_QUALIFIER}/\${CMAKE_INSTALL_CONFIG_NAME}
- RUNTIME DESTINATION ${BINARY_DIRECTORY}/${SDK_INSTALL_BINARY_PREFIX}/${PLATFORM_INSTALL_QUALIFIER}/\${CMAKE_INSTALL_CONFIG_NAME})
+ RUNTIME DESTINATION ${BINARY_DIRECTORY}/${SDK_INSTALL_BINARY_PREFIX}/${PLATFORM_INSTALL_QUALIFIER}/\${CMAKE_INSTALL_CONFIG_NAME}
+ INCLUDES DESTINATION ${INCLUDE_DIRECTORY}/${SDK_INSTALL_BINARY_PREFIX}/${PLATFORM_INSTALL_QUALIFIER}/\${CMAKE_INSTALL_CONFIG_NAME})
endif()
endif()
endmacro()
diff --git a/toolchains/pkg-config.pc.in b/toolchains/pkg-config.pc.in
index 9b519d2772..a61069225c 100644
--- a/toolchains/pkg-config.pc.in
+++ b/toolchains/pkg-config.pc.in
@@ -1,5 +1,5 @@
-includedir=@CMAKE_INSTALL_PREFIX@/@INCLUDE_DIRECTORY@
-libdir=@CMAKE_INSTALL_PREFIX@/@LIBRARY_DIRECTORY@
+includedir=@INCLUDE_DIRECTORY@
+libdir=@LIBRARY_DIRECTORY@

Name: @PROJECT_NAME@
Description: @PROJECT_DESCRIPTION@
7 changes: 7 additions & 0 deletions pkgs/development/libraries/aws-sdk-cpp/default.nix
Original file line number Diff line number Diff line change
@@ -50,13 +50,20 @@ stdenv.mkDerivation rec {
rm aws-cpp-sdk-core-tests/aws/auth/AWSCredentialsProviderTest.cpp
'';

postFixupHooks = [
# This bodge is necessary so that the file that the generated -config.cmake file
# points to an existing directory.
''mkdir -p $out/include''
];

__darwinAllowLocalNetworking = true;

patches = [
(fetchpatch {
url = "https://github.com/aws/aws-sdk-cpp/commit/42991ab549087c81cb630e5d3d2413e8a9cf8a97.patch";
sha256 = "0myq5cm3lvl5r56hg0sc0zyn1clbkd9ys0wr95ghw6bhwpvfv8gr";
})
./cmake-dirs.patch
];

meta = with lib; {
21 changes: 21 additions & 0 deletions pkgs/development/libraries/boost/cmake-paths.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
diff --git a/tools/boost_install/boost-install.jam b/tools/boost_install/boost-install.jam
index ad19f7b55..ec6bf57ff 100644
--- a/tools/boost_install/boost-install.jam
+++ b/tools/boost_install/boost-install.jam
@@ -587,6 +587,7 @@ rule generate-cmake-config- ( target : sources * : properties * )
"# Compute the include and library directories relative to this file."
""
"get_filename_component(_BOOST_CMAKEDIR \"${CMAKE_CURRENT_LIST_DIR}/../\" ABSOLUTE)"
+ "get_filename_component(_BOOST_REAL_CMAKEDIR \"${CMAKE_CURRENT_LIST_DIR}/../\" ABSOLUTE)"
: true ;

if [ path.is-rooted $(cmakedir) ]
@@ -607,6 +608,8 @@ rule generate-cmake-config- ( target : sources * : properties * )
" unset(_BOOST_CMAKEDIR_ORIGINAL)"
"endif()"
""
+ "# Assume that the installer actually did know where the libs were to be installed"
+ "get_filename_component(_BOOST_CMAKEDIR \"$(cmakedir-native)\" REALPATH)"
: true ;
}

3 changes: 2 additions & 1 deletion pkgs/development/libraries/boost/generic.nix
Original file line number Diff line number Diff line change
@@ -109,7 +109,8 @@ stdenv.mkDerivation {
++ optional stdenv.isDarwin (
if version == "1.55.0"
then ./darwin-1.55-no-system-python.patch
else ./darwin-no-system-python.patch);
else ./darwin-no-system-python.patch)
++ optional (versionAtLeast version "1.70") ./cmake-paths.patch;

meta = {
homepage = http://boost.org/;
9 changes: 4 additions & 5 deletions pkgs/development/tools/hobbes/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

stdenv.mkDerivation {
name = "hobbes";
version = "unstable-2020-03-10";
version = "unstable-2020-05-19";

src = fetchFromGitHub {
owner = "morgan-stanley";
repo = "hobbes";
rev = "ae956df9da3f3b24630bc1757dfaa2a8952db07a";
sha256 = "1a0lb87vb0qcp5wy6swk4jcc88l7vhy6iflsk7zplw547mbjhjsy";
rev = "3d80a46b44a362a97a6b963a2bf788fd1f67ade1";
sha256 = "03m915g3283z2nfdr03dj5k76wn917knfqxb0xj3qinbl4cka2p1";
};

nativeBuildInputs = [
@@ -33,8 +33,7 @@ stdenv.mkDerivation {
'';
homepage = "https://github.com/Morgan-Stanley/hobbes";
license = licenses.asl20;
maintainers = [ maintainers.thmzlt ];
maintainers = with maintainers; [ kthielen thmzlt ];
platforms = [ "x86_64-linux" "x86_64-darwin" ];
broken = stdenv.isDarwin;
};
}
4 changes: 2 additions & 2 deletions pkgs/os-specific/linux/kernel/linux-4.14.nix
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
with stdenv.lib;

buildLinux (args // rec {
version = "4.14.180";
version = "4.14.181";

# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
@@ -13,6 +13,6 @@ buildLinux (args // rec {

src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "03pd4wpg526n391jwc0kbmbxi059mvq8d42a9qbym9mnv5rzjkj4";
sha256 = "0kaasqhmg9in7pf4ldk9z4z1cjgv1c9xdr1ca0pznngygibym6xb";
};
} // (args.argsOverride or {}))
4 changes: 2 additions & 2 deletions pkgs/os-specific/linux/kernel/linux-4.19.nix
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
with stdenv.lib;

buildLinux (args // rec {
version = "4.19.123";
version = "4.19.124";

# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
@@ -13,6 +13,6 @@ buildLinux (args // rec {

src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "0gwrkbbfy85ajxpg7q6j9mn8mzhmsr1v3wmh5c76p34d3b9i96d7";
sha256 = "005dznldnj1m03cbkc5pd2q2cv9jj1j6a0x2vh4p79ypg4c01nfm";
};
} // (args.argsOverride or {}))
4 changes: 2 additions & 2 deletions pkgs/os-specific/linux/kernel/linux-4.4.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ stdenv, buildPackages, fetchurl, perl, buildLinux, ... } @ args:

buildLinux (args // rec {
version = "4.4.223";
version = "4.4.224";
extraMeta.branch = "4.4";

src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "09fln0sdfif2zv2jifp24yiqi0vcyj8fqx2jz91g21zvsxk3x5nd";
sha256 = "1lb8ypn558vk73bj4a20wq40cig9vmzjn2xzzdws78gfair6hxpg";
};
} // (args.argsOverride or {}))
4 changes: 2 additions & 2 deletions pkgs/os-specific/linux/kernel/linux-4.9.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ stdenv, buildPackages, fetchurl, perl, buildLinux, ... } @ args:

buildLinux (args // rec {
version = "4.9.223";
version = "4.9.224";
extraMeta.branch = "4.9";

src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "1r9ag1fhy0g429q44qlqh0qkf42qkhzxa04gxlmnrinqypk00lyg";
sha256 = "0jf92cx0b3wq9fxa3169wk4wqvy58hglfk6lsynszy8kjplhfvfz";
};
} // (args.argsOverride or {}))
4 changes: 2 additions & 2 deletions pkgs/os-specific/linux/kernel/linux-5.4.nix
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
with stdenv.lib;

buildLinux (args // rec {
version = "5.4.41";
version = "5.4.42";

# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
@@ -13,6 +13,6 @@ buildLinux (args // rec {

src = fetchurl {
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
sha256 = "0mxhz3f0ayz0nggndbikp44kx307yxf16qzsv46hni6p8z1ffr0y";
sha256 = "0cdwazpzfrrb2y5fp87v9yihy7v8mlbqjzxpzmv7p83609y1nhsf";
};
} // (args.argsOverride or {}))
4 changes: 2 additions & 2 deletions pkgs/os-specific/linux/kernel/linux-5.6.nix
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
with stdenv.lib;

buildLinux (args // rec {
version = "5.6.13";
version = "5.6.14";

# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
@@ -13,6 +13,6 @@ buildLinux (args // rec {

src = fetchurl {
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
sha256 = "11zriz0jwqizv0pq0laql0svsnspdfnxqykq70v22x39iyfdf9gi";
sha256 = "18vyxi64i93v4qyky5q62kkasm1da7wmz91xfkx3j7ki84skyxik";
};
} // (args.argsOverride or {}))
9 changes: 5 additions & 4 deletions pkgs/servers/mail/dovecot/default.nix
Original file line number Diff line number Diff line change
@@ -9,7 +9,8 @@
}:

stdenv.mkDerivation rec {
name = "dovecot-2.3.9.3";
pname = "dovecot";
version = "2.3.10.1";

nativeBuildInputs = [ perl pkgconfig ];
buildInputs =
@@ -20,8 +21,8 @@ stdenv.mkDerivation rec {
++ lib.optional withSQLite sqlite;

src = fetchurl {
url = "https://dovecot.org/releases/2.3/${name}.tar.gz";
sha256 = "0lcnqib63nv32xr3nr4s3x8k77mbgrhc13swjl2xqnzw4fabd7zq";
url = "https://dovecot.org/releases/2.3/${pname}-${version}.tar.gz";
sha256 = "035idr2j81s5mngnhd58rih79dhwwak7q01mqbx3rcmi4cpychk6";
};

enableParallelBuilding = true;
@@ -81,7 +82,7 @@ stdenv.mkDerivation rec {
++ lib.optional withSQLite "--with-sqlite";

meta = {
homepage = https://dovecot.org/;
homepage = "https://dovecot.org/";
description = "Open source IMAP and POP3 email server written with security primarily in mind";
maintainers = with stdenv.lib.maintainers; [ peti rickynils fpletz globin ];
platforms = stdenv.lib.platforms.unix;
4 changes: 2 additions & 2 deletions pkgs/servers/matrix-synapse/default.nix
Original file line number Diff line number Diff line change
@@ -23,11 +23,11 @@ let

in buildPythonApplication rec {
pname = "matrix-synapse";
version = "1.12.4";
version = "1.13.0";

src = fetchPypi {
inherit pname version;
sha256 = "0psr17ai42ma9923g9bj3q9fd8kph9rx7jpxsxwbfzr2y6lwr306";
sha256 = "10s34h1qh9k88bxv0l0whvy7kirmx9kwgdxrz7sv3rv42cyr1989";
};

patches = [
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -171,7 +171,7 @@ in

deadcode = callPackage ../development/tools/deadcode { };

hobbes = callPackage ../development/tools/hobbes { stdenv = gcc6Stdenv; }; # GCC 6 is latest currently supported. See https://git.io/JvK6M.
hobbes = callPackage ../development/tools/hobbes { };

proto-contrib = callPackage ../development/tools/proto-contrib {};