1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

Fix the hardcoded /usr/local path in the debug ffado-diag, diagnostic script

This commit is contained in:
Cillian de Róiste 2012-07-15 11:51:49 +02:00
parent dc5ba23ab4
commit 039b709041

View file

@ -26,6 +26,8 @@ stdenv.mkDerivation rec {
scons PREFIX=$out LIBDIR=$out/lib SHAREDIR=$out/share/libffado \
PYPKGDIR=$out/$PYLIBSUFFIX install
sed -e "s#/usr/local#$out#g" -i $out/bin/ffado-diag
PYDIR=$out/$PYLIBSUFFIX
wrapProgram $out/bin/ffado-mixer --prefix PYTHONPATH : \
$PYTHONPATH:$PYDIR:${pyqt4}/$LIBSUFFIX:${pythonDBus}/$LIBSUFFIX: