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: 365ca1112115
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: e64b2be53c85
Choose a head ref
  • 15 commits
  • 18 files changed
  • 9 contributors

Commits on Mar 26, 2020

  1. emacs-modes: build MELPA package sets without null packages

    The current algorithm creates attributes with null values for packages
    with no source in a variant of MELPA. Though will satify dependencies
    they produce no files, and though a build that transitively depends on
    one them will be successful, Emacs won't find them and any code
    depending on them won't work.
    
    The solution with minimal code change would have been filtering the
    list of results from melpaDerivation by comparing the value against
    null, but that leads to an infinite recursion.
    
    This commit also moves legacy renames from the shared to the unstable
    set, as the corresponding null value elements won't exist in the
    stable set anymore.
    
    The test used for the problem was:
    
      $ nix-build --show-trace ./default.nix -A emacs26Packages.melpaStablePackages.findr
      error: expression does not evaluate to a derivation (or a set or list of those)
    
    The expected output, obtained with this commit is:
    
      $ nix-build --show-trace ./default.nix -A emacs26Packages.melpaStablePackages.findr
      error: attribute 'findr' in selection path 'emacs26Packages.melpaStablePackages.findr' not found
    Servilio Afre Puentes committed Mar 26, 2020
    Copy the full SHA
    b2c8626 View commit details

Commits on Apr 28, 2020

  1. nixos/gitlab: Fix services.gitlab.enableStartTLSAuto

    'toString false' results in an empty string, which, in this context,
    is a syntax error. Use boolToString instead.
    
    Fixes #86160
    
    (cherry picked from commit c0a838d)
    talyz committed Apr 28, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    talyz Kim Lindberger
    Copy the full SHA
    5a52738 View commit details
  2. signal-desktop: 1.33.3 -> 1.33.4

    (cherry picked from commit 660d284)
    primeos committed Apr 28, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    primeos Michael Weiss
    Copy the full SHA
    24202c0 View commit details
  3. Merge pull request #86190 from talyz/release-20.03

    [20.03] nixos/gitlab: Fix services.gitlab.enableStartTLSAuto
    talyz authored Apr 28, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ac29e16 View commit details
  4. Merge pull request #86199 from primeos/signal-desktop-backport

    [20.03] signal-desktop: 1.33.3 -> 1.33.4 (backport)
    primeos authored Apr 28, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    fc30d6f View commit details
  5. gitlab: 12.8.8 -> 12.8.9

    flokli authored and Milan Pässler committed Apr 28, 2020
    Copy the full SHA
    9153c23 View commit details
  6. libmicrodns: 0.1.0 -> 0.1.2

    - CVE-2020-6071
    - CVE-2020-6072
    - CVE-2020-6073
    - CVE-2020-6077
    - CVE-2020-6078
    - CVE-2020-6079
    
    Buildsystem switched to Meson+Ninja.
    
    (cherry picked from commit 18f3661)
    mmilata authored and Mic92 committed Apr 28, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    Mic92 Jörg Thalheim
    Copy the full SHA
    1d8a149 View commit details
  7. Merge pull request #86213 from afrepues/build-melpa-stable-with-no-nu…

    …ll-pkgs
    
    emacs-modes: build MELPA package sets without null packages
    adisbladis authored Apr 28, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2437cd6 View commit details
  8. gitlab: support passing --rev to the update-all script

    While it's already possible to invoke `update-data` with the `--rev`
    argument, one still needs to run all later phases manually.
    
    Fix this, by having `update-all` also accept a `--rev` argument, and
    pass it down to `update-data`.
    
    Also, make the help text a bit more usable, by suggesting the usual
    versioning scheme used these times.
    
    (cherry picked from commit 191c2c67a409ae8cf3d3bee7811a7b10397efe81)
    flokli committed Apr 28, 2020
    Copy the full SHA
    c69934e View commit details
  9. gitlab-workhorse: 8.21.1 -> 8.21.2

    (cherry picked from commit f7ddd30bef15238d6d9a12f48408d38571944d85)
    flokli committed Apr 28, 2020
    Copy the full SHA
    0364b92 View commit details
  10. gitaly: 12.8.8 -> 12.8.9

    (cherry picked from commit c86c77be0cf45023586e7252bfb05238ae6d38db)
    flokli committed Apr 28, 2020
    Copy the full SHA
    e265095 View commit details
  11. gitlab: update.py: invoke bundle lock manually

    `bundix -l` doesn't work, as it treats bundler's warning about upgrading
    the lockfile version as an error, so invoke `bundle lock` manually.
    
    (cherry picked from commit c7d47ce06fba88341e2d072379013414be4ee2e1)
    manveru authored and flokli committed Apr 28, 2020
    Copy the full SHA
    e97d89f View commit details
  12. pantheon.switchboard-plug-pantheon-shell: 2.8.3 -> 2.8.4

    (cherry picked from commit 9d73d28)
    worldofpeace committed Apr 28, 2020
    Copy the full SHA
    657c31e View commit details
  13. Copy the full SHA
    a5b5cb8 View commit details
  14. kde/{kate,konqueror,okular}: decrease text mimetype preference

    These .desktop files set InitialPreference>1 which will override other
    associations even the .desktop appears first in XDG_DATA_DIRS. This
    applies to:
    
    - org.kde.kate.desktop
    - org.kde.kwrite.desktop
    - kfmclient_html.desktop
    - okularApplication_txt.desktop
    
    Fixes #86137
    
    (cherry picked from commit b3f8126)
    matthewbauer authored and worldofpeace committed Apr 28, 2020
    Copy the full SHA
    e64b2be View commit details
2 changes: 1 addition & 1 deletion nixos/modules/services/misc/gitlab.nix
Original file line number Diff line number Diff line change
@@ -180,7 +180,7 @@ let
${optionalString (cfg.smtp.passwordFile != null) ''password: "@smtpPassword@",''}
domain: "${cfg.smtp.domain}",
${optionalString (cfg.smtp.authentication != null) "authentication: :${cfg.smtp.authentication},"}
enable_starttls_auto: ${toString cfg.smtp.enableStartTLSAuto},
enable_starttls_auto: ${boolToString cfg.smtp.enableStartTLSAuto},
ca_file: "/etc/ssl/certs/ca-certificates.crt",
openssl_verify_mode: '${cfg.smtp.opensslVerifyMode}'
}
9 changes: 6 additions & 3 deletions pkgs/applications/editors/emacs-modes/libgenerated.nix
Original file line number Diff line number Diff line change
@@ -61,8 +61,9 @@ in {
pname = builtins.replaceStrings [ "@" ] [ "at" ] ename;
broken = ! isNull error;
in
lib.nameValuePair ename (if hasSource then (
self.callPackage ({ melpaBuild, fetchurl, ... }@pkgargs:
if hasSource then
lib.nameValuePair ename (
self.callPackage ({ melpaBuild, fetchurl, ... }@pkgargs:
melpaBuild {
inherit pname;
ename = ename;
@@ -85,6 +86,8 @@ in {
};
}
) {}
) else null);
)
else
null;

}
22 changes: 13 additions & 9 deletions pkgs/applications/editors/emacs-modes/melpa-packages.nix
Original file line number Diff line number Diff line change
@@ -42,7 +42,9 @@ env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate --show-trace ../../../../ -A emacsPac
}: let

inherit (import ./libgenerated.nix lib self) melpaDerivation;
super = lib.listToAttrs (map (melpaDerivation variant) (lib.importJSON archiveJson));
super = lib.listToAttrs (builtins.filter (s: s != null)
(map (melpaDerivation variant)
(lib.importJSON archiveJson)));

overrides = rec {
shared = rec {
@@ -268,10 +270,6 @@ env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate --show-trace ../../../../ -A emacsPac

# Map legacy renames from emacs2nix since code generation was ported to emacs lisp
_0blayout = super."0blayout";
_0xc = super."0xc";
_2048-game = super."2048-game";
_4clojure = super."4clojure";
at = super."@";
desktop-plus = super."desktop+";
ghub-plus = super."ghub+";
git-gutter-plus = super."git-gutter+";
@@ -282,10 +280,6 @@ env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate --show-trace ../../../../ -A emacsPac
markdown-mode-plus = super."markdown-mode+";
package-plus = super."package+";
rect-plus = super."rect+";
term-plus = super."term+";
term-plus-key-intercept = super."term+key-intercept";
term-plus-mux = super."term+mux";
xml-plus = super."xml+";
};

stable = shared // {
@@ -414,6 +408,16 @@ env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate --show-trace ../../../../ -A emacsPac
# Legacy alias
emacs-libvterm = unstable.vterm;

# Map legacy renames from emacs2nix since code generation was ported to emacs lisp
_0xc = super."0xc";
_2048-game = super."2048-game";
_4clojure = super."4clojure";
at = super."@";
term-plus = super."term+";
term-plus-key-intercept = super."term+key-intercept";
term-plus-mux = super."term+mux";
xml-plus = super."xml+";

w3m = super.w3m.override (args: {
melpaBuild = drv: args.melpaBuild (drv // {
prePatch =
10 changes: 10 additions & 0 deletions pkgs/applications/kde/kate.nix
Original file line number Diff line number Diff line change
@@ -14,6 +14,16 @@ mkDerivation {
maintainers = [ lib.maintainers.ttuegel ];
};

# InitialPreference values are too high and end up making kate &
# kwrite defaults for anything considered text/plain. Resetting to
# 1, which is the default.
postPatch = ''
substituteInPlace kate/data/org.kde.kate.desktop \
--replace InitialPreference=9 InitialPreference=1
substituteInPlace kwrite/data/org.kde.kwrite.desktop \
--replace InitialPreference=8 InitialPreference=1
'';

nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [
libgit2
10 changes: 9 additions & 1 deletion pkgs/applications/kde/konqueror.nix
Original file line number Diff line number Diff line change
@@ -12,9 +12,17 @@ mkDerivation {
kdelibs4support kcmutils khtml kdesu
qtwebkit qtwebengine qtx11extras qtscript qtwayland
];

# InitialPreference values are too high and any text/html ends up
# opening konqueror, even if firefox or chromium are also available.
# Resetting to 1, which is the default.
postPatch = ''
substituteInPlace kfmclient_html.desktop \
--replace InitialPreference=9 InitialPreference=1
'';

meta = {
license = with lib.licenses; [ gpl2 ];
maintainers = with lib.maintainers; [ ];
};
}

9 changes: 9 additions & 0 deletions pkgs/applications/kde/okular.nix
Original file line number Diff line number Diff line change
@@ -18,6 +18,15 @@ mkDerivation {
kwindowsystem libkexiv2 libspectre libzip phonon poppler qca-qt5
qtdeclarative qtsvg threadweaver kcrash
] ++ lib.optional (!stdenv.isAarch64) chmlib;

# InitialPreference values are too high and end up making okular
# default for anything considered text/plain. Resetting to 1, which
# is the default.
postPatch = ''
substituteInPlace generators/txt/okularApplication_txt.desktop \
--replace InitialPreference=3 InitialPreference=1
'';

meta = with lib; {
homepage = http://www.kde.org;
license = with licenses; [ gpl2 lgpl21 fdl12 bsd3 ];
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ let
else "");
in stdenv.mkDerivation rec {
pname = "signal-desktop";
version = "1.33.3"; # Please backport all updates to the stable channel.
version = "1.33.4"; # Please backport all updates to the stable channel.
# All releases have a limited lifetime and "expire" 90 days after the release.
# When releases "expire" the application becomes unusable until an update is
# applied. The expiration date for the current release can be extracted with:
@@ -33,7 +33,7 @@ in stdenv.mkDerivation rec {

src = fetchurl {
url = "https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop/signal-desktop_${version}_amd64.deb";
sha256 = "1brw1hidmrznb55cb794yvgzin7sf3cxnffivmag4vf2a2vcvf4y";
sha256 = "0mcxia2zaflaazfdl1ngpab0dyhwwzbhad7brc6kwhjxydbnmwcd";
};

nativeBuildInputs = [
10 changes: 5 additions & 5 deletions pkgs/applications/version-management/gitlab/data.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"version": "12.8.8",
"repo_hash": "1y8flmssz8bp07v7x9gxazqn5889hvkxk0k6py773gdnna5fd5fb",
"version": "12.8.9",
"repo_hash": "07vayjy3020hapbdx2wiv91g9xrfmvngbyj05hs2p0p3gwj6g2a4",
"owner": "gitlab-org",
"repo": "gitlab",
"rev": "v12.8.8-ee",
"rev": "v12.8.9-ee",
"passthru": {
"GITALY_SERVER_VERSION": "12.8.8",
"GITALY_SERVER_VERSION": "12.8.9",
"GITLAB_PAGES_VERSION": "1.16.0",
"GITLAB_SHELL_VERSION": "11.0.0",
"GITLAB_WORKHORSE_VERSION": "8.21.1"
"GITLAB_WORKHORSE_VERSION": "8.21.2"
}
}
Original file line number Diff line number Diff line change
@@ -242,4 +242,4 @@ DEPENDENCIES
webmock (~> 3.4.0)

BUNDLED WITH
2.1.4
1.17.3
Original file line number Diff line number Diff line change
@@ -19,14 +19,14 @@ let
};
};
in buildGoPackage rec {
version = "12.8.8";
version = "12.8.9";
pname = "gitaly";

src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitaly";
rev = "v${version}";
sha256 = "182jqglzbzq8jnlq6l634125jkvi67pfr1xck68n4k09gyzqllxv";
sha256 = "06q1km2pigpl4yxl8pkzdy2yxzvsfm6n5r3kmd8h19j3sc6imbmh";
};

# Fix a check which assumes that hook files are writeable by their
Original file line number Diff line number Diff line change
@@ -3,13 +3,13 @@
buildGoPackage rec {
pname = "gitlab-workhorse";

version = "8.21.1";
version = "8.21.2";

src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitlab-workhorse";
rev = "v${version}";
sha256 = "1d384xw7hfrph4i61z9z315sik7ja9hgrvmhljirwxrch1fyx3m4";
sha256 = "065yy8zfxahpybk3mbvc492by1lvssqcbqm8i4yp09m669rk239w";
};

goPackagePath = "gitlab.com/gitlab-org/gitlab-workhorse";
Original file line number Diff line number Diff line change
@@ -163,7 +163,7 @@ gem 'diffy', '~> 3.1.0'
gem 'diff_match_patch', '~> 0.1.0'

# Application server
gem 'rack', '~> 2.0.7'
gem 'rack', '~> 2.0.9'

group :unicorn do
gem 'unicorn', '~> 5.4.1'
16 changes: 8 additions & 8 deletions pkgs/applications/version-management/gitlab/rubyEnv/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -173,7 +173,7 @@ GEM
concord (0.1.5)
adamantium (~> 0.2.0)
equalizer (~> 0.0.9)
concurrent-ruby (1.1.5)
concurrent-ruby (1.1.6)
connection_pool (2.2.2)
contracts (0.11.0)
cork (0.3.0)
@@ -783,7 +783,7 @@ GEM
public_suffix (4.0.3)
pyu-ruby-sasl (0.0.3.3)
raabro (1.1.6)
rack (2.0.7)
rack (2.0.9)
rack-accept (0.4.5)
rack (>= 0.4)
rack-attack (6.2.0)
@@ -854,17 +854,17 @@ GEM
json
recursive-open-struct (1.1.0)
redis (4.1.3)
redis-actionpack (5.1.0)
actionpack (>= 4.0, < 7)
redis-rack (>= 1, < 3)
redis-actionpack (5.2.0)
actionpack (>= 5, < 7)
redis-rack (>= 2.1.0, < 3)
redis-store (>= 1.1.0, < 2)
redis-activesupport (5.2.0)
activesupport (>= 3, < 7)
redis-store (>= 1.3, < 2)
redis-namespace (1.6.0)
redis (>= 3.0.4)
redis-rack (2.0.6)
rack (>= 1.5, < 3)
redis-rack (2.1.2)
rack (>= 2.0.8, < 3)
redis-store (>= 1.2, < 2)
redis-rails (5.0.2)
redis-actionpack (>= 5.0, < 6)
@@ -1325,7 +1325,7 @@ DEPENDENCIES
prometheus-client-mmap (~> 0.10.0)
pry-byebug (~> 3.5.1)
pry-rails (~> 0.3.9)
rack (~> 2.0.7)
rack (~> 2.0.9)
rack-attack (~> 6.2.0)
rack-cors (~> 1.0.6)
rack-oauth2 (~> 1.9.3)
16 changes: 8 additions & 8 deletions pkgs/applications/version-management/gitlab/rubyEnv/gemset.nix
Original file line number Diff line number Diff line change
@@ -763,10 +763,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1x07r23s7836cpp5z9yrlbpljcxpax14yw4fy4bnp6crhr6x24an";
sha256 = "094387x4yasb797mv07cs3g6f08y56virc2rjcpb1k79rzaj3nhl";
type = "gem";
};
version = "1.1.5";
version = "1.1.6";
};
connection_pool = {
groups = ["default"];
@@ -3501,10 +3501,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0z90vflxbgjy2n84r7mbyax3i2vyvvrxxrf86ljzn5rw65jgnn2i";
sha256 = "1mxzk12xylrz6d4n9jj5jasfscbf1pbk4idrb0nlf327lx9rwfkk";
type = "gem";
};
version = "2.0.7";
version = "2.0.9";
};
rack-accept = {
dependencies = ["rack"];
@@ -3803,10 +3803,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1hvai5ygkyii9wq8h98wim8shgrm7vkv0js62zpm85vdl1xzvphz";
sha256 = "0c2276zzc0044zh37a8frx1v7hnra7z7k126154ps7njbqngfdv3";
type = "gem";
};
version = "5.1.0";
version = "5.2.0";
};
redis-activesupport = {
dependencies = ["activesupport" "redis-store"];
@@ -3836,10 +3836,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1pa19ydbk0l6wilwbxcjn6knfs4ffgj0rhaaldrlhf76pjgkaiqb";
sha256 = "0ldw5sxyd80pv0gr89kvn6ziszlbs8lv1a573fkm6d0f11fps413";
type = "gem";
};
version = "2.0.6";
version = "2.1.2";
};
redis-rails = {
dependencies = ["redis-actionpack" "redis-activesupport" "redis-store"];
11 changes: 7 additions & 4 deletions pkgs/applications/version-management/gitlab/update.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env nix-shell
#! nix-shell -i python3 -p bundix common-updater-scripts nix nix-prefetch-git python3 python3Packages.requests python3Packages.lxml python3Packages.click python3Packages.click-log vgo2nix yarn2nix
#! nix-shell -i python3 -p bundix bundler common-updater-scripts nix nix-prefetch-git python3 python3Packages.requests python3Packages.lxml python3Packages.click python3Packages.click-log vgo2nix yarn2nix

import click
import click_log
@@ -100,7 +100,7 @@ def cli():


@cli.command('update-data')
@click.option('--rev', default='latest', help='The rev to use, \'latest\' points to the latest (stable) tag')
@click.option('--rev', default='latest', help='The rev to use (vX.Y.Z-ee), or \'latest\'')
def update_data(rev: str):
"""Update data.nix"""
repo = GitLabRepo()
@@ -135,6 +135,7 @@ def update_rubyenv():
with open(rubyenv_dir / fn, 'w') as f:
f.write(repo.get_file(fn, rev))

subprocess.check_output(['bundle', 'lock'], cwd=rubyenv_dir)
subprocess.check_output(['bundix'], cwd=rubyenv_dir)


@@ -174,6 +175,7 @@ def update_gitaly():
with open(gitaly_dir / fn, 'w') as f:
f.write(repo.get_file(fn, f"v{gitaly_server_version}"))

subprocess.check_output(['bundle', 'lock'], cwd=gitaly_dir)
subprocess.check_output(['bundix'], cwd=gitaly_dir)

os.environ['GOROOT'] = ""
@@ -227,10 +229,11 @@ def update_gitlab_workhorse():
os.unlink(gitlab_workhorse_dir / fn)

@cli.command('update-all')
@click.option('--rev', default='latest', help='The rev to use (vX.Y.Z-ee), or \'latest\'')
@click.pass_context
def update_all(ctx):
def update_all(ctx, rev: str):
"""Update all gitlab components to the latest stable release"""
ctx.invoke(update_data, rev='latest')
ctx.invoke(update_data, rev=rev)
ctx.invoke(update_rubyenv)
ctx.invoke(update_yarnpkgs)
ctx.invoke(update_gitaly)
Original file line number Diff line number Diff line change
@@ -4,13 +4,13 @@

stdenv.mkDerivation rec {
pname = "switchboard-plug-pantheon-shell";
version = "2.8.3";
version = "2.8.4";

src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
sha256 = "0ypyppxx51l3r3fgxrvjdwnz33lpbfh1bf27fww9fx9520wixnx8";
sha256 = "1nnsv745inbdqk3xnbcaqmj87vr3kzh5hazbh8v3ib33cpi7wy88";
};

passthru = {
4 changes: 2 additions & 2 deletions pkgs/desktops/pantheon/desktop/gala/default.nix
Original file line number Diff line number Diff line change
@@ -26,13 +26,13 @@

stdenv.mkDerivation rec {
pname = "gala";
version = "3.3.0";
version = "3.3.1";

src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
sha256 = "02g6x190lylng8d07pwx2bqcc71rq48f0dxh30mgndfii6k21qgs";
sha256 = "03cq9ihgjasnv1n4v3dn1m3ypzj26k2ybd5b1a7yrbprb35zbrs4";
};

passthru = {
Loading