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 Jun 18, 2022
2 parents bafa0bd + 5ee88ab commit 358f18f
Show file tree
Hide file tree
Showing 90 changed files with 909 additions and 341 deletions.
9 changes: 8 additions & 1 deletion nixos/modules/services/misc/gollum.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ in
user-icons = mkOption {
type = types.nullOr (types.enum [ "gravatar" "identicon" ]);
default = null;
description = "User icons for history view";
description = "Enable specific user icons for history view";
};

emoji = mkOption {
Expand All @@ -68,6 +68,12 @@ in
description = "Disable editing pages";
};

local-time = mkOption {
type = types.bool;
default = false;
description = "Use the browser's local timezone instead of the server's for displaying dates.";
};

branch = mkOption {
type = types.str;
default = "master";
Expand Down Expand Up @@ -123,6 +129,7 @@ in
${optionalString cfg.emoji "--emoji"} \
${optionalString cfg.h1-title "--h1-title"} \
${optionalString cfg.no-edit "--no-edit"} \
${optionalString cfg.local-time "--local-time"} \
${optionalString (cfg.allowUploads != null) "--allow-uploads ${cfg.allowUploads}"} \
${optionalString (cfg.user-icons != null) "--user-icons ${cfg.user-icons}"} \
${cfg.stateDir}
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/services/network-filesystems/ipfs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ in
'' + optionalString cfg.autoMigrate ''
${pkgs.ipfs-migrator}/bin/fs-repo-migrations -to '${cfg.package.repoVersion}' -y
'' + ''
ipfs --offline config profile apply ${profile}
ipfs --offline config profile apply ${profile} >/dev/null
fi
'' + optionalString cfg.autoMount ''
ipfs --offline config Mounts.FuseAllowOther --json true
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/tasks/network-interfaces-scripted.nix
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ let
bindsTo = [ "network-setup.service" ];
};

networkSetup =
networkSetup = lib.mkIf (config.networking.resolvconf.enable || cfg.defaultGateway != null || cfg.defaultGateway6 != null)
{ description = "Networking Setup";

after = [ "network-pre.target" "systemd-udevd.service" "systemd-sysctl.service" ];
Expand Down
8 changes: 4 additions & 4 deletions nixos/modules/virtualisation/lxc-container.nix
Original file line number Diff line number Diff line change
Expand Up @@ -63,26 +63,26 @@ in
default = {};
example = literalExpression ''
{
# create /etc/hostname on container creation
# create /etc/hostname on container creation. also requires networking.hostName = "" to be set
"hostname" = {
enable = true;
target = "/etc/hostname";
template = builtins.writeFile "hostname.tpl" "{{ container.name }}";
template = builtins.toFile "hostname.tpl" "{{ container.name }}";
when = [ "create" ];
};
# create /etc/nixos/hostname.nix with a configuration for keeping the hostname applied
"hostname-nix" = {
enable = true;
target = "/etc/nixos/hostname.nix";
template = builtins.writeFile "hostname-nix.tpl" "{ ... }: { networking.hostName = "{{ container.name }}"; }";
template = builtins.toFile "hostname-nix.tpl" "{ ... }: { networking.hostName = \"{{ container.name }}\"; }";
# copy keeps the file updated when the container is changed
when = [ "create" "copy" ];
};
# copy allow the user to specify a custom configuration.nix
"configuration-nix" = {
enable = true;
target = "/etc/nixos/configuration.nix";
template = builtins.writeFile "configuration-nix" "{{ config_get(\"user.user-data\", properties.default) }}";
template = builtins.toFile "configuration-nix" "{{ config_get(\"user.user-data\", properties.default) }}";
when = [ "create" ];
};
};
Expand Down
6 changes: 6 additions & 0 deletions pkgs/applications/audio/klystrack/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ stdenv.mkDerivation rec {
})
];

# Workaround build failure on -fno-common toolchains:
# ld: libengine_gui.a(gui_menu.o):(.bss+0x0): multiple definition of
# `menu_t'; objs.release/action.o:(.bss+0x20): first defined here
# TODO: remove it for 1.7.7+ release as it was fixed upstream.
NIX_CFLAGS_COMPILE = "-fcommon";

buildFlags = [ "PREFIX=${placeholder "out"}" "CFG=release" ];

installPhase = ''
Expand Down
12 changes: 6 additions & 6 deletions pkgs/applications/editors/vscode/vscode.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ let
archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz";

sha256 = {
x86_64-linux = "1kvb92ygsvzi06nqwd6d9dlqbz44dxcjm0iq1rvvxnr7x33l8218";
x86_64-darwin = "0jz0nik6wkqhgmfnhiwsq510hxbc9jw0z7s84154p2lhwcmpsbjp";
aarch64-linux = "16jzpzxxmcq690d3w0ph0cnzhpyvjpk8ih48pyzzf25bgp94yi33";
aarch64-darwin = "00xw4xml4zijpqj8305gdgn15shllpkv9ld1yh1aqrz11v522w3h";
armv7l-linux = "0fzzdh9gkw51djrdwhzi3fbjxkm2l78v72gc0233xm8riq0gczsv";
x86_64-linux = "0rq0bc99hsji4ni5mqw1rhzn2rng9rldm4xbdxlkrjyprc6qvffz";
x86_64-darwin = "1yjcb65w0anxyjc1nd9kbwr4hwnrlk9c6kp1a2ncy1g181klzarl";
aarch64-linux = "1fk7887clz9sd7fmz7lkxql7bnsvnbjd9fjixym2746x9if5ds42";
aarch64-darwin = "1bfgsjnm5r1wpss69ncx310j23mbwhixdxmg07m3kpcfqrmznvgc";
armv7l-linux = "0131i5cx2737wmngybvlw7d9c4gnilmla33nlrhf74ihic98jwlc";
}.${system};
in
callPackage ./generic.nix rec {
# Please backport all compatible updates to the stable release.
# This is important for the extension ecosystem.
version = "1.68.0";
version = "1.68.1";
pname = "vscode";

executableName = "code" + lib.optionalString isInsiders "-insiders";
Expand Down
12 changes: 6 additions & 6 deletions pkgs/applications/editors/vscode/vscodium.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ let
archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz";

sha256 = {
x86_64-linux = "0k3m6gdmcv5blfczb7wnvsslq9sx07rbmzbs1q1yf9mb5q916dcf";
x86_64-darwin = "0074vrjvv52gss0cibgkfkkf6g5fjcwjhz8bpl4b42j07qryh642";
aarch64-linux = "1ps8ql740832gdjx7kwsi8akbdgk7lx1l85hg1aa5qwgm65xcb0g";
aarch64-darwin = "1gqzwy5fkmbw2zmcgiakczr51zv9rlkhp7aq182p43jrsk6lqqnn";
armv7l-linux = "0km1vjd2jnl9kxfxz52fkf2jkqhx121jngxjcy581fhnipp268zb";
x86_64-linux = "1gx64ff9sgjqn8vw2hjpn3qlfpfyyhc5ivzc52vqyczaj1fcny65";
x86_64-darwin = "0sv0iyqfw24k14r28qzvlpdb81b7fqhbgb1lqzb75adhdfpjwz31";
aarch64-linux = "13mg7nn43k4bs1gl8cx1kly90yxz7iial6a1fpy4grxsk8mna1rj";
aarch64-darwin = "0mnj3lckpqwb3kmg7x7r34idaxyhy55gpiiyj0gmpqp8hp0ai5sc";
armv7l-linux = "0cvvigzmqp21jxwdfpkspdj7sva9bj977f9689qgb012kqvy41b2";
}.${system};

sourceRoot = if stdenv.isDarwin then "" else ".";
Expand All @@ -28,7 +28,7 @@ in

# Please backport all compatible updates to the stable release.
# This is important for the extension ecosystem.
version = "1.68.0";
version = "1.68.1";
pname = "vscodium";

executableName = "codium";
Expand Down
16 changes: 8 additions & 8 deletions pkgs/applications/graphics/image_optim/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
GEM
remote: https://rubygems.org/
specs:
exifr (1.3.6)
fspath (3.1.0)
image_optim (0.26.3)
exifr (1.3.9)
fspath (3.1.2)
image_optim (0.31.1)
exifr (~> 1.2, >= 1.2.2)
fspath (~> 3.0)
image_size (>= 1.5, < 3)
image_size (>= 1.5, < 4)
in_threads (~> 1.3)
progress (~> 3.0, >= 3.0.1)
image_size (2.0.0)
in_threads (1.5.1)
progress (3.5.0)
image_size (3.0.2)
in_threads (1.6.0)
progress (3.6.0)

PLATFORMS
ruby
Expand All @@ -20,4 +20,4 @@ DEPENDENCIES
image_optim

BUNDLED WITH
2.1.4
2.3.9
36 changes: 24 additions & 12 deletions pkgs/applications/graphics/image_optim/gemset.nix
Original file line number Diff line number Diff line change
@@ -1,51 +1,63 @@
{
exifr = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0q2abhiyvgfv23i0izbskjxcqaxiw9bfg6s57qgn4li4yxqpwpfg";
sha256 = "0mylhwmh6n4xihxr9s3zj0lc286f5maxbqd4dgk3paqnd7afz88s";
type = "gem";
};
version = "1.3.6";
version = "1.3.9";
};
fspath = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1vjn9sy4hklr2d5wxmj5x1ry31dfq3sjp779wyprb3nbbdmra1sc";
sha256 = "0xcxikkrjv8ws328nn5ax5pyfjs8pn7djg1hks7qyb3yp6prpb5m";
type = "gem";
};
version = "3.1.0";
version = "3.1.2";
};
image_optim = {
dependencies = ["exifr" "fspath" "image_size" "in_threads" "progress"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "082w9qcyy9j6m6s2pknfdcik7l2qch4j48axs13m06l4s1hz0dmg";
sha256 = "1l3n59w1cbvfg2srfa14g3jdqwbkf7l86g4qrgfz3qps7zi0drg7";
type = "gem";
};
version = "0.26.3";
version = "0.31.1";
};
image_size = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0bcn7nc6qix3w4sf7xd557lnsgjniqa7qvz7nnznx70m8qfbc7ig";
sha256 = "033k72f8n28psm89wv1qwsrnqyzz57ihyivyi442wha6vr9iyjz3";
type = "gem";
};
version = "2.0.0";
version = "3.0.2";
};
in_threads = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "14hqm59sgqi91ag187zwpgwi58xckjkk58m031ghkp0csl8l9mkx";
sha256 = "0j9132d4g8prjafgdh4pw948j527kr09m2lvylrcd797il9yd9wi";
type = "gem";
};
version = "1.5.1";
version = "1.6.0";
};
progress = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1yrzq4v5sp7cg4nbgqh11k3d1czcllfz98dcdrxrsjxwq5ziiw0p";
sha256 = "0wymdk40cwrqn32gwg1kw94s5p1n0z3n7ma7x1s62gd4vw3d63in";
type = "gem";
};
version = "3.5.0";
version = "3.6.0";
};
}
6 changes: 3 additions & 3 deletions pkgs/applications/misc/authenticator/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,20 @@

stdenv.mkDerivation rec {
pname = "authenticator";
version = "4.1.4";
version = "4.1.6";

src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World";
repo = "Authenticator";
rev = version;
hash = "sha256-606uMEbJd60ehoEEV0w2vz33poR1/18HcsvBMszMZrc=";
hash = "sha256-fv7Np3haRCJABlJocKuu+1jevHYrdo+VyiQBpRmHs2g=";
};

cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
hash = "sha256-D2kT4IBKxbrL17S+kPyofu1sLPHMuyez6jTiA6kVohs=";
hash = "sha256-8GddlDM1lU365GXdrKNhO331/y1p3Om5uZfVLy8TBGI=";
};

nativeBuildInputs = [
Expand Down
3 changes: 1 addition & 2 deletions pkgs/applications/misc/calibre/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
, hunspell
, hyphen
, unrarSupport ? false
, chmlib
, python3Packages
, libusb1
, libmtp
Expand Down Expand Up @@ -66,7 +65,6 @@ mkDerivation rec {
nativeBuildInputs = [ pkg-config qmake removeReferencesTo wrapGAppsHook ];

buildInputs = [
chmlib
fontconfig
hunspell
hyphen
Expand Down Expand Up @@ -102,6 +100,7 @@ mkDerivation rec {
msgpack
netifaces
pillow
pychm
pyqt-builder
pyqt5
python
Expand Down
23 changes: 16 additions & 7 deletions pkgs/applications/misc/gollum/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ GEM
gemojione (4.3.3)
json
github-markup (4.0.1)
gollum (5.2.3)
gollum (5.3.0)
gemojione (~> 4.1)
gollum-lib (~> 5.1)
i18n (~> 1.8)
kramdown (~> 2.3)
kramdown-parser-gfm (~> 1.1.0)
mustache-sinatra (~> 1.0)
mustache-sinatra (>= 1.0.1, < 2)
octicons (~> 12.0)
rdoc (~> 6)
rss (~> 0.2.9)
sass (~> 3.5)
sinatra (~> 2.0)
Expand All @@ -30,7 +32,7 @@ GEM
uglifier (~> 4.2)
useragent (~> 0.16.2)
webrick (~> 1.7)
gollum-lib (5.1.3)
gollum-lib (5.2)
gemojione (~> 4.1)
github-markup (~> 4.0)
gollum-rugged_adapter (~> 1.0)
Expand All @@ -43,6 +45,8 @@ GEM
mime-types (~> 1.15)
rugged (~> 1.1.0)
htmlentities (4.3.4)
i18n (1.10.0)
concurrent-ruby (~> 1.0)
json (2.6.2)
kramdown (2.4.0)
rexml
Expand All @@ -66,15 +70,19 @@ GEM
nokogiri (>= 1.6.3.1)
org-ruby (0.9.12)
rubypants (~> 0.2)
psych (4.0.4)
stringio
racc (1.6.0)
rack (2.2.3)
rack (2.2.3.1)
rack-protection (2.2.0)
rack
rb-fsevent (0.11.1)
rb-inotify (0.10.1)
ffi (~> 1.0)
rdoc (6.4.0)
psych (>= 4.0.0)
rexml (3.2.5)
rouge (3.28.0)
rouge (3.29.0)
rss (0.2.9)
rexml
ruby2_keywords (0.0.5)
Expand All @@ -101,6 +109,7 @@ GEM
rack (> 1, < 3)
sprockets-helpers (1.4.0)
sprockets (>= 2.2)
stringio (3.0.2)
therubyrhino (2.1.2)
therubyrhino_jar (>= 1.7.4, < 1.7.9)
therubyrhino_jar (1.7.8)
Expand All @@ -111,7 +120,7 @@ GEM
execjs (>= 0.3.0, < 3)
unf (0.1.4)
unf_ext
unf_ext (0.0.8.1)
unf_ext (0.0.8.2)
useragent (0.16.10)
webrick (1.7.0)
wikicloth (0.8.3)
Expand All @@ -133,4 +142,4 @@ DEPENDENCIES
wikicloth

BUNDLED WITH
2.2.33
2.3.9
Loading

0 comments on commit 358f18f

Please sign in to comment.