bluez5: multiple outputs
This commit is contained in:
parent
e0a2224f1e
commit
70936ce3f8
@ -23,6 +23,8 @@ stdenv.mkDerivation rec {
|
||||
# gstreamer gst_plugins_base
|
||||
];
|
||||
|
||||
outputs = [ "dev" "out" "test" ];
|
||||
|
||||
patches = [ ./bluez-5.37-obexd_without_systemd-1.patch ];
|
||||
|
||||
preConfigure = ''
|
||||
@ -51,9 +53,9 @@ stdenv.mkDerivation rec {
|
||||
# FIXME: Move these into a separate package to prevent Bluez from
|
||||
# depending on Python etc.
|
||||
postInstall = ''
|
||||
mkdir $out/test
|
||||
cp -a test $out
|
||||
pushd $out/test
|
||||
mkdir -p $test/test
|
||||
cp -a test $test
|
||||
pushd $test/test
|
||||
for a in \
|
||||
simple-agent \
|
||||
test-adapter \
|
||||
@ -65,7 +67,7 @@ stdenv.mkDerivation rec {
|
||||
ln -s ../test/$a $out/bin/bluez-$a
|
||||
done
|
||||
popd
|
||||
wrapPythonProgramsIn $out/test "$out/test $pythonPath"
|
||||
wrapPythonProgramsIn $test/test "$test/test $pythonPath"
|
||||
|
||||
# for bluez4 compatibility for NixOS
|
||||
mkdir $out/sbin
|
||||
|
Loading…
x
Reference in New Issue
Block a user