networkd-dispatcher: fix pygobject3
This commit is contained in:
parent
b15a12e8fd
commit
74fa11a545
@ -4,7 +4,7 @@
|
||||
, fetchpatch
|
||||
, python3Packages
|
||||
, asciidoc
|
||||
, makeWrapper
|
||||
, wrapGAppsNoGuiHook
|
||||
, iw
|
||||
}:
|
||||
|
||||
@ -43,10 +43,12 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
asciidoc
|
||||
makeWrapper
|
||||
wrapGAppsNoGuiHook
|
||||
python3Packages.wrapPython
|
||||
];
|
||||
|
||||
dontWrapGApps = true;
|
||||
|
||||
checkInputs = with python3Packages; [
|
||||
dbus-python
|
||||
iw
|
||||
@ -72,9 +74,14 @@ stdenv.mkDerivation rec {
|
||||
|
||||
doCheck = true;
|
||||
|
||||
preFixup = ''
|
||||
makeWrapperArgs+=( \
|
||||
"''${gappsWrapperArgs[@]}" \
|
||||
--prefix PATH : "${lib.makeBinPath [ iw ]}" \
|
||||
)
|
||||
'';
|
||||
postFixup = ''
|
||||
wrapPythonPrograms
|
||||
wrapProgram $out/bin/networkd-dispatcher --prefix PATH : ${lib.makeBinPath [ iw ]}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user