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: d548264df9e8
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: 92ab741f1cf2
Choose a head ref
  • 4 commits
  • 7 files changed
  • 2 contributors

Commits on Oct 12, 2019

  1. riot-web: 1.4.1 -> 1.4.2

    (cherry picked from commit df94625)
    pacien authored and Ma27 committed Oct 12, 2019
    Copy the full SHA
    d908ad4 View commit details
  2. riot-desktop: 1.4.1 -> 1.4.2

    (cherry picked from commit 28853bc)
    pacien authored and Ma27 committed Oct 12, 2019
    Copy the full SHA
    661beaa View commit details
  3. Merge #70576: scylladb: fix build under sandboxing

    (cherry picked from commits 3596c4c, c0d5833, 8ae02b5)
    vcunat committed Oct 12, 2019
    Copy the full SHA
    6422227 View commit details
  4. Merge #70464: runc: v1.0.0-rc8 -> v1.0.0-rc9 (security)

    (cherry picked from commit 0fa45b8)
    CVE-2019-16884
    vcunat committed Oct 12, 2019
    Copy the full SHA
    92ab741 View commit details
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
"name": "riot-web",
"productName": "Riot",
"main": "src/electron-main.js",
"version": "1.4.1",
"version": "1.4.2",
"description": "A feature-rich client for Matrix.org",
"author": "New Vector Ltd.",
"dependencies": {
Original file line number Diff line number Diff line change
@@ -6,12 +6,12 @@

let
executableName = "riot-desktop";
version = "1.4.1";
version = "1.4.2";
riot-web-src = fetchFromGitHub {
owner = "vector-im";
repo = "riot-web";
rev = "v${version}";
sha256 = "0w4w39smak6hp65vam5rrz6l48rb4yzszzyn1yjhr1m8w8j9bvfl";
sha256 = "1s1m2jbcax92pql9yzw3kxdmn97a2xnas49rw3n1vldkla2wx4zx";
};

in yarn2nix-moretea.mkYarnPackage rec {
Original file line number Diff line number Diff line change
@@ -5,11 +5,11 @@

stdenv.mkDerivation rec {
pname = "riot-web";
version = "1.4.1";
version = "1.4.2";

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

installPhase = let
6 changes: 3 additions & 3 deletions pkgs/applications/virtualization/runc/default.nix
Original file line number Diff line number Diff line change
@@ -5,13 +5,13 @@ with lib;

buildGoPackage rec {
pname = "runc";
version = "1.0.0-rc8";
version = "1.0.0-rc9";

src = fetchFromGitHub {
owner = "opencontainers";
repo = "runc";
rev = "v${version}";
sha256 = "05s4p12mgmdcy7gjralh41wlgds6m69zdgwbpdn1xjj2487dmhxf";
sha256 = "1ss5b46cbbckyqlwgj8dbd5l59c5y0kp679hcpc0ybaj53pmwxj7";
};

goPackagePath = "github.com/opencontainers/runc";
@@ -53,7 +53,7 @@ buildGoPackage rec {
homepage = https://runc.io/;
description = "A CLI tool for spawning and running containers according to the OCI specification";
license = licenses.asl20;
maintainers = with maintainers; [ offline vdemeester ];
maintainers = with maintainers; [ offline vdemeester saschagrunert ];
platforms = platforms.linux;
};
}
28 changes: 28 additions & 0 deletions pkgs/servers/scylladb/configure-etc-osrelease.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
diff --git a/configure.py b/configure.py
index 25ca951ac..454140420 100755
--- a/configure.py
+++ b/configure.py
@@ -36,13 +36,16 @@ tempfile.tempdir = "./build/tmp"

configure_args = str.join(' ', [shlex.quote(x) for x in sys.argv[1:]])

-for line in open('/etc/os-release'):
- key, _, value = line.partition('=')
- value = value.strip().strip('"')
- if key == 'ID':
- os_ids = [value]
- if key == 'ID_LIKE':
- os_ids += value.split(' ')
+try:
+ for line in open('/etc/os-release'):
+ key, _, value = line.partition('=')
+ value = value.strip().strip('"')
+ if key == 'ID':
+ os_ids = [value]
+ if key == 'ID_LIKE':
+ os_ids += value.split(' ')
+except FileNotFoundError:
+ os_ids = ["linux"]


# distribution "internationalization", converting package names.
9 changes: 7 additions & 2 deletions pkgs/servers/scylladb/default.nix
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ gcc8Stdenv.mkDerivation {
fetchSubmodules = true;
};

patches = [ ./seastar-configure-script-paths.patch ];
patches = [ ./seastar-configure-script-paths.patch ./configure-etc-osrelease.patch ];

nativeBuildInputs = [
pkgconfig
@@ -77,21 +77,26 @@ gcc8Stdenv.mkDerivation {

postPatch = ''
patchShebangs ./configure.py
patchShebangs seastar/json/json2code.py
'';

configurePhase = ''
./configure.py --mode=release
'';

installPhase = ''
mkdir $out
cp -r * $out/
'';

requiredSystemFeatures = [ "big-parallel" ];

meta = with stdenv.lib; {
description = "NoSQL data store using the seastar framework, compatible with Apache Cassandra";
homepage = "https://scylladb.com";
license = licenses.agpl3;
platforms = stdenv.lib.platforms.linux;
hydraPlatforms = []; # It's huge ATM, about 18 GB.
maintainers = [ stdenv.lib.maintainers.farlion ];
broken = true;
};
}
4 changes: 2 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -24231,8 +24231,8 @@ in
sct = callPackage ../tools/X11/sct {};

scylladb = callPackage ../servers/scylladb {
thrift = thrift-0_10;
};
thrift = thrift-0_10;
};

seafile-shared = callPackage ../misc/seafile-shared { };