remove awful pkg-config kludge, use depwBuildBuld
This commit is contained in:
parent
f847830a06
commit
d83cce069c
@ -58,6 +58,10 @@
|
|||||||
bash # shebangs in share/ModemManager/fcc-unlock.available.d/
|
bash # shebangs in share/ModemManager/fcc-unlock.available.d/
|
||||||
];
|
];
|
||||||
|
|
||||||
|
depsBuildBuild = [
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Dudevdir=${placeholder "out"}/lib/udev"
|
"-Dudevdir=${placeholder "out"}/lib/udev"
|
||||||
"-Ddbus_policy_dir=${placeholder "out"}/share/dbus-1/system.d"
|
"-Ddbus_policy_dir=${placeholder "out"}/share/dbus-1/system.d"
|
||||||
@ -75,14 +79,4 @@
|
|||||||
"-Dintrospection=false"
|
"-Dintrospection=false"
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
env | grep PKG
|
|
||||||
mkdir bin
|
|
||||||
PATH=${buildPackages.pkg-config}/bin:$PATH
|
|
||||||
PATH=$PWD/bin:$PATH
|
|
||||||
ln -s ${buildPackages.pkg-config}/bin/$PKG_CONFIG bin/pkg-config
|
|
||||||
echo $PATH | sed 's/:/\n/g' | grep pkg
|
|
||||||
type pkg-config
|
|
||||||
patchShebangs tools/test-modemmanager-service.py
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user