spice: properly test for existance of python modules
This commit is contained in:
parent
f681a690fb
commit
6df5d16d20
|
@ -46,6 +46,12 @@ stdenv.mkDerivation rec {
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
install ${doxygen_sh} doxygen.sh
|
install ${doxygen_sh} doxygen.sh
|
||||||
patchShebangs build-aux
|
patchShebangs build-aux
|
||||||
|
|
||||||
|
# https://gitlab.freedesktop.org/spice/spice-common/-/issues/5
|
||||||
|
substituteInPlace subprojects/spice-common/meson.build \
|
||||||
|
--replace \
|
||||||
|
"cmd = run_command(python, '-m', module)" \
|
||||||
|
"cmd = run_command(python, '-c', 'import @0@'.format(module))"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
Loading…
Reference in a new issue