nix-stuff/nixpkgs-patches/kinfocenter-preserve-argv0.patch
2025-04-03 19:34:28 +02:00

13 lines
518 B
Diff

diff --git a/pkgs/kde/plasma/kinfocenter/default.nix b/pkgs/kde/plasma/kinfocenter/default.nix
index d9a0c171dbdb..fb337f4fabdc 100644
--- a/pkgs/kde/plasma/kinfocenter/default.nix
+++ b/pkgs/kde/plasma/kinfocenter/default.nix
@@ -67,6 +67,8 @@ mkKdeDerivation {
ln -sf ${systemsettings}/bin/systemsettings $out/bin/kinfocenter
'';
+ qtWrapperArgs = [ "--inherit-argv0" ];
+
# Hardcoded as a QString, which is UTF-16 so Nix can't pick it up automatically
postFixup = ''
mkdir -p $out/nix-support