diff options
author | Bobby Rong <rjl931189261@126.com> | 2023-08-22 10:02:26 +0800 |
---|---|---|
committer | Bobby Rong <rjl931189261@126.com> | 2023-08-22 10:21:39 +0800 |
commit | b44f01382118b47c9ddb161238af7ad9fb59c313 (patch) | |
tree | 93fb25a53bcb7f5bca34fa8cd8849a03b07f3407 /pkgs/desktops | |
parent | d680ded26da5cf104dd2735a51e88d2d8f487b4d (diff) |
xfce.xfce4-screensaver: Unbreak xfce4-screensaver-configure
Adding missing python should be enough to fix the wrong shebangs.
Diffstat (limited to 'pkgs/desktops')
-rw-r--r-- | pkgs/desktops/xfce/applications/xfce4-screensaver/default.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/desktops/xfce/applications/xfce4-screensaver/default.nix b/pkgs/desktops/xfce/applications/xfce4-screensaver/default.nix index fd119592ba436..791c8ecbde523 100644 --- a/pkgs/desktops/xfce/applications/xfce4-screensaver/default.nix +++ b/pkgs/desktops/xfce/applications/xfce4-screensaver/default.nix @@ -1,4 +1,5 @@ { mkXfceDerivation +, gobject-introspection , dbus-glib , garcon , glib @@ -11,11 +12,16 @@ , libxfce4util , libxklavier , pam +, python3 , systemd , xfconf , lib }: +let + # For xfce4-screensaver-configure + pythonEnv = python3.withPackages (pp: [ pp.pygobject3 ]); +in mkXfceDerivation { category = "apps"; pname = "xfce4-screensaver"; @@ -23,6 +29,10 @@ mkXfceDerivation { sha256 = "sha256-j5K5i+hl/miyHste73akZL62K6YTxXmN8mmFK9BCecs="; + nativeBuildInputs = [ + gobject-introspection + ]; + buildInputs = [ dbus-glib garcon @@ -36,6 +46,7 @@ mkXfceDerivation { libxfce4util libxklavier pam + pythonEnv systemd xfconf ]; |