mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
nixos/osquery: do not use the local database for osqueryi
Because the local database is used by the osquery deamon, running osqueri fails with: IO error: While lock file: /var/lib/osquery/osquery.db/LOCK: Resource temporarily unavailable
This commit is contained in:
parent
8dff9f64ec
commit
8af1d49858
@ -21,7 +21,7 @@ let
|
||||
osqueryi = pkgs.runCommand "osqueryi" { nativeBuildInputs = [ pkgs.makeWrapper ]; } ''
|
||||
mkdir -p $out/bin
|
||||
makeWrapper ${pkgs.osquery}/bin/osqueryi $out/bin/osqueryi \
|
||||
--add-flags "--flagfile ${flagfile}"
|
||||
--add-flags "--flagfile ${flagfile} --disable-database"
|
||||
'';
|
||||
in
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user