From d15a067856ed97f9b7af0b4cfcc44c7fc2d39107 Mon Sep 17 00:00:00 2001 From: Guillaume Maudoux Date: Tue, 15 Aug 2017 00:11:53 +0200 Subject: [PATCH] blueman: fix python wrapper mockup --- pkgs/tools/bluetooth/blueman/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/bluetooth/blueman/default.nix b/pkgs/tools/bluetooth/blueman/default.nix index bb2ed0c2c268..9027bdf9c5fc 100644 --- a/pkgs/tools/bluetooth/blueman/default.nix +++ b/pkgs/tools/bluetooth/blueman/default.nix @@ -31,10 +31,11 @@ in stdenv.mkDerivation rec { configureFlags = [ (lib.enableFeature withPulseAudio "pulseaudio") ]; - preFixup = '' + postFixup = '' makeWrapperArgs="--prefix PATH ':' ${binPath}" - wrapPythonProgramsIn "$out/bin" "$pythonPath" - wrapPythonProgramsIn "$out/libexec" "$pythonPath" + # This mimics ../../../development/interpreters/python/wrap.sh + wrapPythonProgramsIn "$out/bin" "$out $pythonPath" + wrapPythonProgramsIn "$out/libexec" "$out $pythonPath" ''; meta = with lib; {