libvirt: Fix incorrect path to pkttyagent
This commit is contained in:
parent
d030ffdeb6
commit
99c5e10c0b
1 changed files with 4 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
||||||
, ninja
|
, ninja
|
||||||
, perl
|
, perl
|
||||||
, perlPackages
|
, perlPackages
|
||||||
|
, polkit
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, pmutils
|
, pmutils
|
||||||
, python3
|
, python3
|
||||||
|
@ -227,6 +228,9 @@ stdenv.mkDerivation rec {
|
||||||
--replace "gmake" "make" \
|
--replace "gmake" "make" \
|
||||||
--replace "ggrep" "grep"
|
--replace "ggrep" "grep"
|
||||||
|
|
||||||
|
substituteInPlace src/util/virpolkit.h \
|
||||||
|
--replace '"/usr/bin/pkttyagent"' '"${polkit.bin}/bin/pkttyagent"'
|
||||||
|
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
''
|
''
|
||||||
+ (lib.concatStringsSep "\n" (lib.mapAttrsToList patchBuilder overrides));
|
+ (lib.concatStringsSep "\n" (lib.mapAttrsToList patchBuilder overrides));
|
||||||
|
|
Loading…
Reference in a new issue