summary refs log tree commit diff
path: root/pkgs/tools/bluetooth/blueman
diff options
context:
space:
mode:
authorGuillaume Maudoux <layus.on@gmail.com>2017-08-15 00:11:53 +0200
committerFranz Pletz <fpletz@fnordicwalking.de>2017-08-30 02:59:57 +0200
commitd15a067856ed97f9b7af0b4cfcc44c7fc2d39107 (patch)
tree126599ee78a7b512d2389104c1a9f7fde4c7e210 /pkgs/tools/bluetooth/blueman
parentbd545892332ede39cd5c1c0ba26e7101b0d2c971 (diff)
downloadnixpkgs-d15a067856ed97f9b7af0b4cfcc44c7fc2d39107.tar
nixpkgs-d15a067856ed97f9b7af0b4cfcc44c7fc2d39107.tar.gz
nixpkgs-d15a067856ed97f9b7af0b4cfcc44c7fc2d39107.tar.bz2
nixpkgs-d15a067856ed97f9b7af0b4cfcc44c7fc2d39107.tar.lz
nixpkgs-d15a067856ed97f9b7af0b4cfcc44c7fc2d39107.tar.xz
nixpkgs-d15a067856ed97f9b7af0b4cfcc44c7fc2d39107.tar.zst
nixpkgs-d15a067856ed97f9b7af0b4cfcc44c7fc2d39107.zip
blueman: fix python wrapper mockup
Diffstat (limited to 'pkgs/tools/bluetooth/blueman')
-rw-r--r--pkgs/tools/bluetooth/blueman/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/tools/bluetooth/blueman/default.nix b/pkgs/tools/bluetooth/blueman/default.nix
index bb2ed0c2c26..9027bdf9c5f 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; {