Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into staging-next
Browse files Browse the repository at this point in the history
  • Loading branch information
K900 committed Jan 31, 2025
2 parents 301b078 + da266ea commit be1a14b
Show file tree
Hide file tree
Showing 55 changed files with 1,070 additions and 497 deletions.
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11620,6 +11620,11 @@
githubId = 1792886;
name = "Julien Malka";
};
juliusfreudenberger = {
name = "Julius Freudenberger";
github = "JuliusFreudenberger";
githubId = 13383409;
};
juliusrickert = {
email = "[email protected]";
github = "juliusrickert";
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/services/misc/open-webui.nix
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ in
} // cfg.environment;

serviceConfig = {
ExecStart = "${lib.getExe cfg.package} serve --host ${cfg.host} --port ${toString cfg.port}";
ExecStart = "${lib.getExe cfg.package} serve --host \"${cfg.host}\" --port ${toString cfg.port}";
EnvironmentFile = lib.optional (cfg.environmentFile != null) cfg.environmentFile;
WorkingDirectory = cfg.stateDir;
StateDirectory = "open-webui";
Expand Down
1 change: 1 addition & 0 deletions nixos/tests/open-webui.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ in
{
services.open-webui = {
enable = true;
host = "";
environment = {
# Requires network connection
RAG_EMBEDDING_MODEL = "";
Expand Down
12 changes: 12 additions & 0 deletions pkgs/applications/editors/vim/plugins/generated.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11223,6 +11223,18 @@ final: prev:
meta.homepage = "https://github.com/amitds1997/remote-nvim.nvim/";
};

remote-sshfs-nvim = buildVimPlugin {
pname = "remote-sshfs.nvim";
version = "2024-08-29";
src = fetchFromGitHub {
owner = "nosduco";
repo = "remote-sshfs.nvim";
rev = "03f6c40c4032eeb1ab91368e06db9c3f3a97a75d";
sha256 = "1pl08cpgx27mhmbjxlqld4n2728hxs0hvwyjjy982k315hhhhldw";
};
meta.homepage = "https://github.com/nosduco/remote-sshfs.nvim/";
};

renamer-nvim = buildVimPlugin {
pname = "renamer.nvim";
version = "2022-08-29";
Expand Down
13 changes: 13 additions & 0 deletions pkgs/applications/editors/vim/plugins/overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,14 @@
nodejs,
notmuch,
openscad,
openssh,
parinfer-rust,
phpactor,
ranger,
ripgrep,
skim,
sqlite,
sshfs,
statix,
stylish-haskell,
tabnine,
Expand Down Expand Up @@ -2796,6 +2798,17 @@ in
nvimSkipModule = "repro";
};

remote-sshfs-nvim = super.remote-sshfs-nvim.overrideAttrs {
dependencies = with self; [
telescope-nvim
plenary-nvim
];
runtimeDeps = [
openssh
sshfs
];
};

renamer-nvim = super.renamer-nvim.overrideAttrs {
dependencies = [ self.plenary-nvim ];
};
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/editors/vim/plugins/vim-plugin-names
Original file line number Diff line number Diff line change
Expand Up @@ -929,6 +929,7 @@ https://github.com/theprimeagen/refactoring.nvim/,,
https://github.com/tversteeg/registers.nvim/,,
https://github.com/vladdoster/remember.nvim/,,
https://github.com/amitds1997/remote-nvim.nvim/,HEAD,
https://github.com/nosduco/remote-sshfs.nvim/,HEAD,
https://github.com/filipdutescu/renamer.nvim/,,
https://github.com/MeanderingProgrammer/render-markdown.nvim/,,
https://github.com/gabrielpoca/replacer.nvim/,HEAD,
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/graphics/krita/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ callPackage, ... }:

callPackage ./generic.nix {
version = "5.2.6";
version = "5.2.9";
kde-channel = "stable";
hash = "sha256-SNcShVT99LTpLFSuMbUq95IfR6jabOyqBnRKu/yC1fs=";
hash = "sha256-CMmvVW3r8mkxvWUGeS45G0t6MzSlog9RazJJBDNKy6Y=";
}
10 changes: 5 additions & 5 deletions pkgs/applications/virtualization/podman-desktop/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
, fetchFromGitHub
, makeWrapper
, copyDesktopItems
, electron
, electron_33
, nodejs
, pnpm_9
, makeDesktopItem
Expand Down Expand Up @@ -56,15 +56,15 @@ stdenv.mkDerivation (finalAttrs: {
buildPhase = ''
runHook preBuild
cp -r ${electron.dist} electron-dist
cp -r ${electron_33.dist} electron-dist
chmod -R u+w electron-dist
pnpm build
./node_modules/.bin/electron-builder \
--dir \
--config .electron-builder.config.cjs \
-c.electronDist=electron-dist \
-c.electronVersion=${electron.version}
-c.electronVersion=${electron_33.version}
runHook postBuild
'';
Expand All @@ -84,7 +84,7 @@ stdenv.mkDerivation (finalAttrs: {
install -Dm644 buildResources/icon.svg "$out/share/icons/hicolor/scalable/apps/podman-desktop.svg"
makeWrapper '${electron}/bin/electron' "$out/bin/podman-desktop" \
makeWrapper '${electron_33}/bin/electron' "$out/bin/podman-desktop" \
--add-flags "$out/share/lib/podman-desktop/resources/app.asar" \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}" \
--inherit-argv0
Expand Down Expand Up @@ -113,7 +113,7 @@ stdenv.mkDerivation (finalAttrs: {
changelog = "https://github.com/containers/podman-desktop/releases/tag/v${finalAttrs.version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ booxter panda2134 ];
inherit (electron.meta) platforms;
inherit (electron_33.meta) platforms;
mainProgram = "podman-desktop";
};
})
29 changes: 29 additions & 0 deletions pkgs/by-name/ay/ayatana-indicator-messages/fix-pie.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
From 316457cf70dd105905d5d4925f43de280f08ab10 Mon Sep 17 00:00:00 2001
From: OPNA2608 <[email protected]>
Date: Sat, 11 Jan 2025 20:55:29 +0100
Subject: [PATCH] tests/CMakeLists.txt: Drop hardcoded -no-pie linker flags

---
tests/CMakeLists.txt | 2 --
1 file changed, 2 deletions(-)

diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 63beacb..5b0812c 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -32,7 +32,6 @@ add_dependencies("indicator-messages-service" "ayatana-indicator-messages-servic
# test-gactionmuxer

add_executable("test-gactionmuxer" test-gactionmuxer.cpp)
-target_link_options("test-gactionmuxer" PRIVATE -no-pie)
target_include_directories("test-gactionmuxer" PUBLIC ${PROJECT_DEPS_INCLUDE_DIRS} "${CMAKE_SOURCE_DIR}/src")
target_link_libraries("test-gactionmuxer" "indicator-messages-service" ${PROJECT_DEPS_LIBRARIES} ${GTEST_LIBRARIES} ${GTEST_BOTH_LIBRARIES} ${GMOCK_LIBRARIES})
add_test("test-gactionmuxer" "test-gactionmuxer")
@@ -59,7 +58,6 @@ add_custom_target("gschemas-compiled" ALL DEPENDS gschemas.compiled)

pkg_check_modules(DBUSTEST REQUIRED dbustest-1)
add_executable("indicator-test" indicator-test.cpp)
-target_link_options("indicator-test" PRIVATE -no-pie)
target_include_directories("indicator-test" PUBLIC ${PROJECT_DEPS_INCLUDE_DIRS} ${DBUSTEST_INCLUDE_DIRS} "${CMAKE_SOURCE_DIR}/libmessaging-menu")
target_link_libraries("indicator-test" "messaging-menu" ${PROJECT_DEPS_LIBRARIES} ${DBUSTEST_LIBRARIES} ${GTEST_LIBRARIES} ${GTEST_BOTH_LIBRARIES} ${GMOCK_LIBRARIES})
target_compile_definitions(
5 changes: 5 additions & 0 deletions pkgs/by-name/ay/ayatana-indicator-messages/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ stdenv.mkDerivation (finalAttrs: {
"dev"
] ++ lib.optionals withDocumentation [ "devdoc" ];

patches = [
# Remove when https://github.com/AyatanaIndicators/ayatana-indicator-messages/pull/39 merged & in release
./fix-pie.patch
];

postPatch =
''
# Uses pkg_get_variable, cannot substitute prefix with that
Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/ca/cargo-make/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@

rustPlatform.buildRustPackage rec {
pname = "cargo-make";
version = "0.37.23";
version = "0.37.24";

src = fetchFromGitHub {
owner = "sagiegurari";
repo = "cargo-make";
rev = version;
hash = "sha256-yYZasrnfxpLf0z6GndLYhkIFfVNjTkx4zdfHYX6WyXk=";
hash = "sha256-hrUd4J15cDyd78BVVzi8jiDqJI1dE35WUdOo6Tq8gH8=";
};

useFetchCargoVendor = true;
cargoHash = "sha256-DtNSP/S41wj4lfd8yE3t8dJOf0yX+ifuj+L6pB53yR8=";
cargoHash = "sha256-ml/OW4S4fIMLmm7vVPgsXB7CigDYORGFpN3jZRp1f8c=";

nativeBuildInputs = [
pkg-config
Expand Down
10 changes: 5 additions & 5 deletions pkgs/by-name/gd/gdm-settings/package.nix
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
lib,
fetchFromGitHub,
python3Packages,
appstream,
blueprint-compiler,
desktop-file-utils,
glib,
fetchFromGitHub,
gdm,
glib,
libadwaita,
meson,
ninja,
pkg-config,
python3Packages,
wrapGAppsHook4,
# gdm-settings needs to know where to look for themes
# This should work for most systems, but can be overridden if not
Expand All @@ -23,14 +23,14 @@

python3Packages.buildPythonApplication rec {
pname = "gdm-settings";
version = "4.4";
version = "5.0";
pyproject = false;

src = fetchFromGitHub {
owner = "gdm-settings";
repo = "gdm-settings";
tag = "v${version}";
hash = "sha256-3Te8bhv2TkpJFz4llm1itRhzg9v64M7Drtrm4s9EyiQ=";
hash = "sha256-x7w6m0+uwkm95onR+ioQAoLlaPoUmLc0+NgawQIIa/Y=";
};

nativeBuildInputs = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/go/go-blueprint/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@

buildGoModule rec {
pname = "go-blueprint";
version = "0.10.4";
version = "0.10.5";

src = fetchFromGitHub {
owner = "Melkeydev";
repo = "go-blueprint";
rev = "v${version}";
hash = "sha256-/MIMDQKdpgY0bCwrYpJNC6jiEhNECROe61uuoFz8P68=";
hash = "sha256-8J+PxFHrNkX2McBn1tO7Q1X4tWtMWDIRsxzKtRhM/Jk=";
};

ldflags = [
Expand Down
14 changes: 10 additions & 4 deletions pkgs/by-name/in/inv-sig-helper/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,19 @@
openssl,

# passthru
nixosTests,
unstableGitUpdater,
}:

rustPlatform.buildRustPackage {
pname = "inv-sig-helper";
version = "0-unstable-2024-12-17";
version = "0-unstable-2025-01-31";

src = fetchFromGitHub {
owner = "iv-org";
repo = "inv_sig_helper";
rev = "74e879b54e46831e31c09fd08fe672ca58e9cb2d";
hash = "sha256-Q+u09WWBwWLcLLW9XwkaYDxM3xoQmeJzi37mrdDGvRc=";
rev = "40835906774cc7cdefa76b2648216afd063ad0e2";
hash = "sha256-yjVN81VSXPOXSOhhlF6Jjc/7sYsdoWT+Tr1BA+C2XQI=";
};

useFetchCargoVendor = true;
Expand All @@ -35,7 +36,12 @@ rustPlatform.buildRustPackage {
openssl
];

passthru.updateScript = unstableGitUpdater { };
passthru = {
tests = {
inherit (nixosTests) invidious;
};
updateScript = unstableGitUpdater { };
};

meta = {
description = "Rust service that decrypts YouTube signatures and manages player information";
Expand Down
17 changes: 17 additions & 0 deletions pkgs/by-name/ja/ja2-stracciatella/dont-use-vendored-sdl2.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e4e5547af..a3017d197 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -428,12 +425,6 @@ if (MINGW)
install(SCRIPT "${CMAKE_CURRENT_BINARY_DIR}/install-dlls-mingw.cmake")
endif()

-if(APPLE)
- file(GLOB APPLE_DIST_FILES "${CMAKE_CURRENT_SOURCE_DIR}/assets/distr-files-mac/*.txt")
- install(FILES ${APPLE_DIST_FILES} DESTINATION .)
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/dependencies/lib-SDL2-2.0.20-macos/SDL2.framework DESTINATION .)
-endif()
-
## Build AppImage

add_custom_target(package-appimage
Loading

0 comments on commit be1a14b

Please sign in to comment.