Skip to content

Commit

Permalink
Merge staging-next into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Feb 14, 2022
2 parents 7a73b83 + a8721d4 commit d012716
Show file tree
Hide file tree
Showing 73 changed files with 328 additions and 186 deletions.
7 changes: 0 additions & 7 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,3 @@ trim_trailing_whitespace = unset

[pkgs/tools/misc/timidity/timidity.cfg]
trim_trailing_whitespace = unset

[pkgs/tools/security/enpass/data.json]
insert_final_newline = unset
trim_trailing_whitespace = unset

[pkgs/top-level/emscripten-packages.nix]
trim_trailing_whitespace = unset
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@
# Rust
/pkgs/development/compilers/rust @Mic92 @LnL7 @zowoq
/pkgs/build-support/rust @zowoq
/doc/languages-frameworks/rust.section.md @zowoq

# Darwin-related
/pkgs/stdenv/darwin @NixOS/darwin-maintainers
Expand Down
21 changes: 13 additions & 8 deletions nixos/modules/services/misc/gitlab.nix
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ let
redis = {
bin = "${pkgs.redis}/bin/redis-cli";
host = "127.0.0.1";
port = 6379;
port = config.services.redis.servers.gitlab.port;
database = 0;
namespace = "resque:gitlab";
};
Expand Down Expand Up @@ -450,7 +450,8 @@ in {

redisUrl = mkOption {
type = types.str;
default = "redis://localhost:6379/";
default = "redis://localhost:${toString config.services.redis.servers.gitlab.port}/";
defaultText = literalExpression ''redis://localhost:''${toString config.services.redis.servers.gitlab.port}/'';
description = "Redis URL for all GitLab services except gitlab-shell";
};

Expand Down Expand Up @@ -961,7 +962,11 @@ in {
};

# Redis is required for the sidekiq queue runner.
services.redis.enable = mkDefault true;
services.redis.servers.gitlab = {
enable = mkDefault true;
port = mkDefault 31636;
bind = mkDefault "127.0.0.1";
};

# We use postgres as the main data store.
services.postgresql = optionalAttrs databaseActuallyCreateLocally {
Expand Down Expand Up @@ -1249,13 +1254,13 @@ in {
systemd.services.gitlab-sidekiq = {
after = [
"network.target"
"redis.service"
"redis-gitlab.service"
"postgresql.service"
"gitlab-config.service"
"gitlab-db-config.service"
];
bindsTo = [
"redis.service"
"redis-gitlab.service"
"gitlab-config.service"
"gitlab-db-config.service"
] ++ optional (cfg.databaseHost == "") "postgresql.service";
Expand Down Expand Up @@ -1370,7 +1375,7 @@ in {

systemd.services.gitlab-mailroom = mkIf (gitlabConfig.production.incoming_email.enabled or false) {
description = "GitLab incoming mail daemon";
after = [ "network.target" "redis.service" "gitlab-config.service" ];
after = [ "network.target" "redis-gitlab.service" "gitlab-config.service" ];
bindsTo = [ "gitlab-config.service" ];
wantedBy = [ "gitlab.target" ];
partOf = [ "gitlab.target" ];
Expand All @@ -1391,12 +1396,12 @@ in {
after = [
"gitlab-workhorse.service"
"network.target"
"redis.service"
"redis-gitlab.service"
"gitlab-config.service"
"gitlab-db-config.service"
];
bindsTo = [
"redis.service"
"redis-gitlab.service"
"gitlab-config.service"
"gitlab-db-config.service"
] ++ optional (cfg.databaseHost == "") "postgresql.service";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/editors/poke/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ let
isCross = stdenv.hostPlatform != stdenv.buildPlatform;
in stdenv.mkDerivation rec {
pname = "poke";
version = "2.0";
version = "2.1";

src = fetchurl {
url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
sha256 = "sha256-W4Ir8+ESyftcDJqyKjCkWl1eTRbj90NgUrtyCqJrmlg=";
sha256 = "sha256-zVKObBu8VAw7YpwrTza3hLMKAmsAWji5koNCJZlEJnA=";
};

outputs = [ "out" "dev" "info" "lib" "man" ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/editors/your-editor/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

stdenv.mkDerivation rec {
pname = "your-editor";
version = "1303";
version = "1400";

src = fetchFromGitHub {
owner = "your-editor";
repo = "yed";
rev = version;
sha256 = "BWy/icQs8hVtNeM/mCi6LOah1UG0elU/DgCmfaIPD64=";
sha256 = "sha256-qF+fMFHfY1fdWPAFEoCxcKHB++sFNwOaHeaMv+6gakg=";
};

installPhase = ''
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/graphics/ImageMagick/7.0.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ in

stdenv.mkDerivation rec {
pname = "imagemagick";
version = "7.1.0-23";
version = "7.1.0-24";

src = fetchFromGitHub {
owner = "ImageMagick";
repo = "ImageMagick";
rev = version;
sha256 = "sha256-NNdtJvgExAFPgJxkSDq8N/UqCbuMRw2N5hPnWGszJtI=";
hash = "sha256-tTdtVUQDBfVS3Rze1KKKR4wL8t8+ka5Ku9qcl+DP6Eo=";
};

outputs = [ "out" "dev" "doc" ]; # bin/ isn't really big
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/misc/hugo/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

buildGoModule rec {
pname = "hugo";
version = "0.92.1";
version = "0.92.2";

src = fetchFromGitHub {
owner = "gohugoio";
repo = pname;
rev = "v${version}";
sha256 = "sha256-fOurAHMDOEDdPSo1qCa6es7D0EZ+Zgucm43xwzAPYPI=";
sha256 = "sha256-kwqN/9H/ZI2eL09K/9bOMBWW9bow8LtKpbfxyfxIucA=";
};

vendorSha256 = "sha256-ZIbpzddgC1EHKia1KGWhQCSD663/0tK36GytsRpUB9c=";
vendorSha256 = "sha256-7dJUl0IxsLj0ds2jqtChNCQEBiK9PahG159IhyFxwdM=";

doCheck = false;

Expand Down
8 changes: 0 additions & 8 deletions pkgs/applications/networking/cluster/arkade/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,5 @@ buildGoModule rec {
description = "Open Source Kubernetes Marketplace";
license = licenses.mit;
maintainers = with maintainers; [ welteki ];
platforms = [
"x86_64-linux"
"x86_64-darwin"
"aarch64-linux"
"aarch64-darwin"
"armv7l-linux"
"armv6l-linux"
];
};
}
48 changes: 48 additions & 0 deletions pkgs/applications/networking/cluster/k3sup/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{ lib
, buildGoModule
, fetchFromGitHub
, makeWrapper
, bash
, openssh
}:

buildGoModule rec {
pname = "k3sup";
version = "0.11.3";

src = fetchFromGitHub {
owner = "alexellis";
repo = "k3sup";
rev = version;
sha256 = "sha256-6WYUmC2uVHFGLsfkA2EUOWmmo1dSKJzI4MEdRnlLgYY=";
};

nativeBuildInputs = [ makeWrapper ];

vendorSha256 = "sha256-Pd+BgPWoxf1AhP0o5SgFSvy4LyUQB7peKWJk0BMy7ds=";

postConfigure = ''
substituteInPlace vendor/github.com/alexellis/go-execute/pkg/v1/exec.go \
--replace "/bin/bash" "${bash}/bin/bash"
'';

CGO_ENABLED = 0;

ldflags = [
"-s" "-w"
"-X github.com/alexellis/k3sup/cmd.GitCommit=ref/tags/${version}"
"-X github.com/alexellis/k3sup/cmd.Version=${version}"
];

postInstall = ''
wrapProgram "$out/bin/k3sup" \
--prefix PATH : ${lib.makeBinPath [ openssh ]}
'';

meta = with lib; {
homepage = "https://github.com/alexellis/k3sup";
description = "Bootstrap Kubernetes with k3s over SSH";
license = licenses.mit;
maintainers = with maintainers; [ welteki ];
};
}
4 changes: 2 additions & 2 deletions pkgs/applications/networking/cluster/tilt/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ buildGoModule rec {
/* Do not use "dev" as a version. If you do, Tilt will consider itself
running in development environment and try to serve assets from the
source tree, which is not there once build completes. */
version = "0.24.1";
version = "0.25.0";

src = fetchFromGitHub {
owner = "tilt-dev";
repo = pname;
rev = "v${version}";
sha256 = "sha256-lvls/2ukwcHSJCgZkumuFMtJTKOBl0CXijedjcGJePw=";
sha256 = "sha256-OWLyjXsV2MX1WfSjRD1/0oAeZxQpeWz5xIyYTLnn+eA=";
};
vendorSha256 = null;

Expand Down
10 changes: 4 additions & 6 deletions pkgs/applications/networking/cluster/waypoint/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,16 @@

buildGoModule rec {
pname = "waypoint";
version = "0.4.1";
version = "0.7.1";

src = fetchFromGitHub {
owner = "hashicorp";
repo = pname;
rev = "v${version}";
sha256 = "sha256-JB/0nU/05Agh4fWFeSfrUHFtR8cQjxdXW0QHAoH0dDc=";
sha256 = "1vcwzksixc9n016gf8zavkdk7ba33zkmymclvjwb32pwsanvzdz7";
};

deleteVendor = true;
vendorSha256 = "sha256-2YrCRdpRk+gPHN8flahgWb2sbK5dYL5ivVqeJSsiy8Y=";
vendorSha256 = "1yl9lmqvw70a6z0c85vkzvdzyzqjizfa1rahfw8gb175fax1f0sz";

nativeBuildInputs = [ go-bindata installShellFiles ];

Expand Down Expand Up @@ -77,7 +76,6 @@ buildGoModule rec {
through a consistent and repeatable workflow.
'';
license = licenses.mpl20;
maintainers = with maintainers; [ winpat jk ];
platforms = platforms.linux;
maintainers = with maintainers; [ winpat jk techknowlogick ];
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ let

in stdenv.mkDerivation rec {
pname = "signal-desktop";
version = "5.30.0"; # Please backport all updates to the stable channel.
version = "5.31.1"; # 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:
Expand All @@ -34,7 +34,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 = "sha256-+e3QzV4WIBOSGkpy6uk6vzIcNB5NpqQ05ZZfaoi58IU=";
sha256 = "sha256-6w6znIIN5TFXTLLhazWyBXiqS5882zMNRZxYxnZjRHA=";
};

nativeBuildInputs = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/networking/irc/hexchat/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

stdenv.mkDerivation rec {
pname = "hexchat";
version = "2.16.0";
version = "2.16.1";

src = fetchFromGitHub {
owner = "hexchat";
repo = "hexchat";
rev = "v${version}";
sha256 = "08zhlf9d3xdis62byxzgizhfg8kbppxl7cgxkzhwdc1srpj7vpx6";
sha256 = "sha256-2IUlNUTL3TOJnDNMds2EWwkfn5NUOQ1ids96Ddo196E=";
};

nativeBuildInputs = [ meson ninja pkg-config makeWrapper ];
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/networking/protonmail-bridge/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

buildGoModule rec {
pname = "protonmail-bridge";
version = "1.8.12";
version = "2.1.0";

src = fetchFromGitHub {
owner = "ProtonMail";
repo = "proton-bridge";
rev = "br-${version}";
sha256 = "sha256-CkvD7PKx2Gm2KgsIIqQ9l1Z3tWlhqIbW0sxCV2UBYTE=";
sha256 = "sha256-3j2THRqhKK+bXIvTjyYDL9vJ9eH+Yy2LHE49auTKL5k=";
};

vendorSha256 = "sha256-Pz3xRTwlnJGh1XvxIbyjvYcMywk/wdp4hYovPLBD494=";
vendorSha256 = "sha256-LTsq3qk95LcgyDaEtTUJWCzQY0AjrMvgn61Dhcntdl8=";

nativeBuildInputs = [ pkg-config ];

Expand Down
8 changes: 4 additions & 4 deletions pkgs/applications/radio/qsstv/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
libpulseaudio, alsa-lib, hamlib, libv4l, fftwFloat }:

mkDerivation rec {
version = "9.4.4";
version = "9.5.8";
pname = "qsstv";

src = fetchurl {
url = "http://users.telenet.be/on4qz/qsstv/downloads/qsstv_${version}.tar.gz";
sha256 = "0f9hx6sy418cb23fadll298pqbc5l2lxsdivi4vgqbkvx7sw58zi";
sha256 = "0s3sivc0xan6amibdiwfnknrl3248wzgy98w6gyxikl0qsjpygy0";
};

nativeBuildInputs = [
Expand All @@ -20,7 +20,8 @@ mkDerivation rec {

postInstall = ''
# Install desktop icon
install -D qsstv/icons/qsstv.png $out/share/pixmaps/qsstv.png
install -D icons/qsstv.png $out/share/pixmaps/qsstv.png
install -D qsstv.desktop $out/share/applications/qsstv.desktop
'';

meta = with lib; {
Expand All @@ -31,4 +32,3 @@ mkDerivation rec {
maintainers = with lib.maintainers; [ hax404 ];
};
}

Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

rustPlatform.buildRustPackage rec {
pname = "git-cliff";
version = "0.5.0";
version = "0.6.0";

src = fetchFromGitHub {
owner = "orhun";
repo = "git-cliff";
rev = "v${version}";
sha256 = "sha256-1ScZ8pxRN/Eot/Q+HWbWOgDWBmVLjqtPeftRsNQIJEI=";
sha256 = "sha256-cctgZz65BliOePal4zrPpTbxMkz4GJj6gIh2YzEg+Do=";
};

cargoSha256 = "sha256-FMlJn/mVcrHhu3gGISb1e7D2mVAocccqXRYZnMVNPqA=";
cargoSha256 = "sha256-M/BNqLZnLthaBONwn5XMmulmqyZTWv5LQFvxASDrBCI=";

# attempts to run the program on .git in src which is not deterministic
doCheck = false;
Expand Down
10 changes: 5 additions & 5 deletions pkgs/applications/version-management/gitlab/data.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"version": "14.7.1",
"repo_hash": "1zph7a2mqwbmgc6isd0vl6w8j9lrlcnxyhabzpcms4v3q3agr4f3",
"version": "14.7.2",
"repo_hash": "1jnwbcsswvy6jjrc2jclrxyyxi54caf8w51sgyiqaik5s3p4wgnx",
"yarn_hash": "12k2r1y7kw95kfsmy0s8rbsf0vldr8c2liah0rkc7pihr19gq3w7",
"owner": "gitlab-org",
"repo": "gitlab",
"rev": "v14.7.1-ee",
"rev": "v14.7.2-ee",
"passthru": {
"GITALY_SERVER_VERSION": "14.7.1",
"GITALY_SERVER_VERSION": "14.7.2",
"GITLAB_PAGES_VERSION": "1.51.0",
"GITLAB_SHELL_VERSION": "13.22.2",
"GITLAB_WORKHORSE_VERSION": "14.7.1"
"GITLAB_WORKHORSE_VERSION": "14.7.2"
}
}
Loading

0 comments on commit d012716

Please sign in to comment.