25 lines
872 B
Diff
25 lines
872 B
Diff
From 6c12682c6d2e822dcabf3a016124de0a86214053 Mon Sep 17 00:00:00 2001
|
|
From: K900 <me@0upti.me>
|
|
Date: Sat, 15 Mar 2025 20:33:34 +0300
|
|
Subject: [PATCH] kdePackages.plasma-workspace: wrap with --inherit-argv0
|
|
|
|
kcminit_startup checks its own argv[0] to determine what mode to run in.
|
|
|
|
Fixes #390179.
|
|
---
|
|
pkgs/kde/plasma/plasma-workspace/default.nix | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/pkgs/kde/plasma/plasma-workspace/default.nix b/pkgs/kde/plasma/plasma-workspace/default.nix
|
|
index a5b80f8ab351f6..b5a8b5d3657f6c 100644
|
|
--- a/pkgs/kde/plasma/plasma-workspace/default.nix
|
|
+++ b/pkgs/kde/plasma/plasma-workspace/default.nix
|
|
@@ -62,6 +62,8 @@ mkKdeDerivation {
|
|
gpsd
|
|
];
|
|
|
|
+ qtWrapperArgs = [ "--inherit-argv0" ];
|
|
+
|
|
# Hardcoded as QStrings, which are UTF-16 so Nix can't pick these up automatically
|
|
postFixup = ''
|
|
mkdir -p $out/nix-support
|