kdePackages.plasma-mobile: fix for services.displayManager.sessionPackages
This commit is contained in:
parent
e46ce3db04
commit
23480eaa8d
@ -2,10 +2,18 @@
|
||||
mkKdeDerivation,
|
||||
pkg-config,
|
||||
qtsensors,
|
||||
plasma-workspace,
|
||||
}:
|
||||
mkKdeDerivation {
|
||||
pname = "plasma-mobile";
|
||||
|
||||
extraNativeBuildInputs = [pkg-config];
|
||||
extraBuildInputs = [qtsensors];
|
||||
postFixup = ''
|
||||
substituteInPlace "$out/share/wayland-sessions/plasma-mobile.desktop" \
|
||||
--replace-fail \
|
||||
"$out/libexec/plasma-dbus-run-session-if-needed" \
|
||||
"${plasma-workspace}/libexec/plasma-dbus-run-session-if-needed"
|
||||
'';
|
||||
passthru.providedSessions = [ "plasma-mobile" ];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user