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:
parent
dc5ba23ab4
commit
039b709041
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue