Merge master into staging-next
This commit is contained in:
@@ -246,6 +246,8 @@
|
||||
- `openrgb` was updated to 1.0rc2, which now uses Plugin API version 4.
|
||||
Some existing OpenRGB plugins may be incompatible or require updates.
|
||||
|
||||
- `wrapNeovimUnstable` now sets provider-related configuration in its generated config rather than as wrapper arguments. It should not affect configuration unless you set `wrapRc` to false or are using the `legacyWrapper`.
|
||||
|
||||
- We now use the upstream wrapper script for Gradle, supporting both the `JAVA_HOME` and `GRADLE_OPTS` environment variables.
|
||||
|
||||
- the `autossh-ng` NixOS module was introduced as a simpler alternative to the existing `autossh` module.
|
||||
|
||||
@@ -223,7 +223,8 @@ let
|
||||
res
|
||||
// {
|
||||
wrapperArgs = lib.escapeShellArgs res.wrapperArgs + " " + extraMakeWrapperArgs;
|
||||
wrapRc = (configure != { });
|
||||
wrapRc = configure != { };
|
||||
legacyWrapper = true;
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -105,13 +105,16 @@ let
|
||||
packpathDirs.myNeovimPackages = vimPackageInfo.vimPackage;
|
||||
finalPackdir = neovimUtils.packDir packpathDirs;
|
||||
|
||||
rcContent = ''
|
||||
${luaRcContent}
|
||||
''
|
||||
+ lib.optionalString (neovimRcContent' != "") ''
|
||||
vim.cmd.source "${writeText "init.vim" neovimRcContent'}"
|
||||
''
|
||||
+ lib.optionalString autoconfigure (lib.concatStringsSep "\n" vimPackageInfo.pluginAdvisedLua);
|
||||
rcContent = lib.concatStringsSep "\n" (
|
||||
[
|
||||
providerLuaRc
|
||||
]
|
||||
++ lib.optional (luaRcContent != "") luaRcContent
|
||||
++ lib.optional (neovimRcContent' != "") ''
|
||||
vim.cmd.source "${writeText "init.vim" neovimRcContent'}"
|
||||
''
|
||||
++ lib.optionals autoconfigure vimPackageInfo.pluginAdvisedLua
|
||||
);
|
||||
|
||||
python3Env =
|
||||
lib.warnIf (attrs ? python3Env)
|
||||
@@ -126,34 +129,37 @@ let
|
||||
|
||||
wrapperArgsStr = if lib.isString wrapperArgs then wrapperArgs else lib.escapeShellArgs wrapperArgs;
|
||||
|
||||
generatedWrapperArgs = [
|
||||
# vim accepts a limited number of commands so we join all the provider ones
|
||||
"--add-flags"
|
||||
''--cmd "lua ${providerLuaRc}"''
|
||||
]
|
||||
++
|
||||
lib.optionals
|
||||
(
|
||||
finalAttrs.packpathDirs.myNeovimPackages.start != [ ]
|
||||
|| finalAttrs.packpathDirs.myNeovimPackages.opt != [ ]
|
||||
)
|
||||
[
|
||||
"--add-flags"
|
||||
''--cmd "set packpath^=${finalPackdir}"''
|
||||
"--add-flags"
|
||||
''--cmd "set rtp^=${finalPackdir}"''
|
||||
]
|
||||
++ lib.optionals finalAttrs.withRuby [
|
||||
"--set"
|
||||
"GEM_HOME"
|
||||
"${rubyEnv}/${rubyEnv.ruby.gemPath}"
|
||||
]
|
||||
++ lib.optionals (finalAttrs.runtimeDeps != [ ]) [
|
||||
"--suffix"
|
||||
"PATH"
|
||||
":"
|
||||
(lib.makeBinPath finalAttrs.runtimeDeps)
|
||||
];
|
||||
generatedWrapperArgs =
|
||||
|
||||
# neovimUtils.legacyWrapper adds a `legacyWrapper` attribute to let us know we run in "legacy" mode
|
||||
lib.optionals (attrs ? legacyWrapper) [
|
||||
# vim accepts a limited number of commands so we join all the provider ones
|
||||
"--add-flags"
|
||||
''--cmd "lua ${providerLuaRc}"''
|
||||
]
|
||||
++
|
||||
lib.optionals
|
||||
(
|
||||
finalAttrs.packpathDirs.myNeovimPackages.start != [ ]
|
||||
|| finalAttrs.packpathDirs.myNeovimPackages.opt != [ ]
|
||||
)
|
||||
[
|
||||
"--add-flags"
|
||||
''--cmd "set packpath^=${finalPackdir}"''
|
||||
"--add-flags"
|
||||
''--cmd "set rtp^=${finalPackdir}"''
|
||||
]
|
||||
++ lib.optionals finalAttrs.withRuby [
|
||||
"--set"
|
||||
"GEM_HOME"
|
||||
"${rubyEnv}/${rubyEnv.ruby.gemPath}"
|
||||
]
|
||||
++ lib.optionals (finalAttrs.runtimeDeps != [ ]) [
|
||||
"--suffix"
|
||||
"PATH"
|
||||
":"
|
||||
(lib.makeBinPath finalAttrs.runtimeDeps)
|
||||
];
|
||||
|
||||
providerLuaRc =
|
||||
let
|
||||
@@ -201,7 +207,7 @@ let
|
||||
++ lib.optionals finalAttrs.wrapRc [
|
||||
"--set-default"
|
||||
"VIMINIT"
|
||||
"lua dofile('${writeText "init.lua" rcContent}')"
|
||||
"lua dofile('${writeText "init.lua" finalAttrs.luaRcContent}')"
|
||||
]
|
||||
++ finalAttrs.generatedWrapperArgs;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildNpmPackage,
|
||||
electron_38,
|
||||
electron_40,
|
||||
makeWrapper,
|
||||
testers,
|
||||
mattermost-desktop,
|
||||
@@ -10,21 +10,21 @@
|
||||
}:
|
||||
|
||||
let
|
||||
electron = electron_38;
|
||||
electron = electron_40;
|
||||
in
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "mattermost-desktop";
|
||||
version = "6.0.4";
|
||||
version = "6.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mattermost";
|
||||
repo = "desktop";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-9/HDkcQEyvcflHMk/M4181jT6xUzMUcD5GHRxqfgxSg=";
|
||||
hash = "sha256-5sVYDnz5RPkHfCpA3I1+Lm7z7YLa3fOFYOTEI6Sbxz8=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-ug7PSLj/AB5krMVJAhCpJHOOKkAootG6oPeMHoW6E0A=";
|
||||
npmDepsHash = "sha256-YdpF/wuH2H+ouBDzCUcTQWLB8s8wa9L12UiGj4MnurQ=";
|
||||
npmBuildScript = "build-prod";
|
||||
makeCacheWritable = true;
|
||||
|
||||
|
||||
@@ -47,14 +47,14 @@ assert
|
||||
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
pname = "music-assistant";
|
||||
version = "2.7.9";
|
||||
version = "2.7.11";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "music-assistant";
|
||||
repo = "server";
|
||||
tag = version;
|
||||
hash = "sha256-c6WTalpjaZcUvppyYaTP03ErX5b+k7fUbphj58FVBS8=";
|
||||
hash = "sha256-HLd7PAYdBzpzdfCRPc4elPq3KfzusIXYXTV8fRmo1lU=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -107,6 +107,7 @@ python.pkgs.buildPythonApplication rec {
|
||||
"cryptography"
|
||||
"getmac"
|
||||
"mashumaro"
|
||||
"numpy"
|
||||
"orjson"
|
||||
"pillow"
|
||||
"podcastparser"
|
||||
@@ -130,7 +131,6 @@ python.pkgs.buildPythonApplication rec {
|
||||
aiortc
|
||||
aiorun
|
||||
aiosqlite
|
||||
aiovban
|
||||
awesomeversion
|
||||
brotli
|
||||
certifi
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Do not edit manually, run ./update-providers.py
|
||||
|
||||
{
|
||||
version = "2.7.9";
|
||||
version = "2.7.11";
|
||||
providers = {
|
||||
airplay =
|
||||
ps: with ps; [
|
||||
@@ -183,8 +183,10 @@
|
||||
];
|
||||
universal_group = ps: [
|
||||
];
|
||||
vban_receiver = ps: [
|
||||
];
|
||||
vban_receiver =
|
||||
ps: with ps; [
|
||||
aiovban
|
||||
];
|
||||
ytmusic =
|
||||
ps: with ps; [
|
||||
bgutil-ytdlp-pot-provider
|
||||
|
||||
Reference in New Issue
Block a user