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