xfce.xfce4-screensaver: Unbreak xfce4-screensaver-configure

Adding missing python should be enough to fix the wrong shebangs.
This commit is contained in:
Bobby Rong 2023-08-22 10:02:26 +08:00
parent d680ded26d
commit b44f013821
No known key found for this signature in database

View file

@ -1,4 +1,5 @@
{ mkXfceDerivation { mkXfceDerivation
, gobject-introspection
, dbus-glib , dbus-glib
, garcon , garcon
, glib , glib
@ -11,11 +12,16 @@
, libxfce4util , libxfce4util
, libxklavier , libxklavier
, pam , pam
, python3
, systemd , systemd
, xfconf , xfconf
, lib , lib
}: }:
let
# For xfce4-screensaver-configure
pythonEnv = python3.withPackages (pp: [ pp.pygobject3 ]);
in
mkXfceDerivation { mkXfceDerivation {
category = "apps"; category = "apps";
pname = "xfce4-screensaver"; pname = "xfce4-screensaver";
@ -23,6 +29,10 @@ mkXfceDerivation {
sha256 = "sha256-j5K5i+hl/miyHste73akZL62K6YTxXmN8mmFK9BCecs="; sha256 = "sha256-j5K5i+hl/miyHste73akZL62K6YTxXmN8mmFK9BCecs=";
nativeBuildInputs = [
gobject-introspection
];
buildInputs = [ buildInputs = [
dbus-glib dbus-glib
garcon garcon
@ -36,6 +46,7 @@ mkXfceDerivation {
libxfce4util libxfce4util
libxklavier libxklavier
pam pam
pythonEnv
systemd systemd
xfconf xfconf
]; ];