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
|
||||
, perl
|
||||
, perlPackages
|
||||
, polkit
|
||||
, pkg-config
|
||||
, pmutils
|
||||
, python3
|
||||
|
@ -227,6 +228,9 @@ stdenv.mkDerivation rec {
|
|||
--replace "gmake" "make" \
|
||||
--replace "ggrep" "grep"
|
||||
|
||||
substituteInPlace src/util/virpolkit.h \
|
||||
--replace '"/usr/bin/pkttyagent"' '"${polkit.bin}/bin/pkttyagent"'
|
||||
|
||||
patchShebangs .
|
||||
''
|
||||
+ (lib.concatStringsSep "\n" (lib.mapAttrsToList patchBuilder overrides));
|
||||
|
|
Loading…
Reference in a new issue