kdePackages.plasma-mobile: fix for services.displayManager.sessionPackages
This commit is contained in:
parent
e46ce3db04
commit
23480eaa8d
@ -2,10 +2,18 @@
|
|||||||
mkKdeDerivation,
|
mkKdeDerivation,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
qtsensors,
|
qtsensors,
|
||||||
|
plasma-workspace,
|
||||||
}:
|
}:
|
||||||
mkKdeDerivation {
|
mkKdeDerivation {
|
||||||
pname = "plasma-mobile";
|
pname = "plasma-mobile";
|
||||||
|
|
||||||
extraNativeBuildInputs = [pkg-config];
|
extraNativeBuildInputs = [pkg-config];
|
||||||
extraBuildInputs = [qtsensors];
|
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