1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/security/doas
Cole Helbling 82f897333a
doas: add NixOS binary dirs to safe PATH
I recently tried to give myself passwordless `doas` for `virsh` commands
(starting, stopping, and editing VMs), but `doas` was complaining that
it didn't know what `virsh` was.

This patch adds `/run/current-system/sw/{s,}bin` and `/run/wrappers/bin`
to the safe path, allowing system binaries to be discovered and executed
properly.
2020-05-27 08:11:30 -07:00
..
0001-add-NixOS-specific-dirs-to-safe-PATH.patch doas: add NixOS binary dirs to safe PATH 2020-05-27 08:11:30 -07:00
default.nix doas: add NixOS binary dirs to safe PATH 2020-05-27 08:11:30 -07:00