From 396bb501a7645bb46379c8a71122d9dbbaf311bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo?= Date: Sun, 7 Aug 2022 08:56:41 -0300 Subject: [PATCH] fvwm3: add pyxdg dependence and enable parallel building --- pkgs/applications/window-managers/fvwm/3.nix | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/window-managers/fvwm/3.nix b/pkgs/applications/window-managers/fvwm/3.nix index f3862f9ac0d8..e68f93bf836c 100644 --- a/pkgs/applications/window-managers/fvwm/3.nix +++ b/pkgs/applications/window-managers/fvwm/3.nix @@ -25,7 +25,7 @@ , libxslt , perl , pkg-config -, python3 +, python3Packages , readline , sharutils }: @@ -45,6 +45,7 @@ stdenv.mkDerivation (finalAttrs: { autoreconfHook asciidoctor pkg-config + python3Packages.wrapPython ]; buildInputs = [ @@ -69,15 +70,25 @@ stdenv.mkDerivation (finalAttrs: { libstroke libxslt perl - python3 + python3Packages.python readline sharutils ]; + pythonPath = [ + python3Packages.pyxdg + ]; + configureFlags = [ "--enable-mandoc" ]; + postFixup = '' + wrapPythonPrograms + ''; + + enableParallelBuilding = true; + meta = with lib; { homepage = "http://fvwm.org"; description = "A multiple large virtual desktop window manager - Version 3";