evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / do / doas / 0001-add-NixOS-specific-dirs-to-safe-PATH.patch
bloba22781269d8bf443fc10f2086eb1d50438b49efb
1 From 9218347b8f833ab05d016dfba5617dcdeb59eb7b Mon Sep 17 00:00:00 2001
2 From: Cole Helbling <cole.e.helbling@outlook.com>
3 Date: Wed, 27 May 2020 08:02:57 -0700
4 Subject: [PATCH] add NixOS-specific dirs to safe PATH
6 ---
7 doas.c | 1 +
8 1 file changed, 1 insertion(+)
10 diff --git a/doas.c b/doas.c
11 index e253905..2fdb20f 100644
12 --- a/doas.c
13 +++ b/doas.c
14 @@ -234,6 +234,7 @@ int
15 main(int argc, char **argv)
17 const char *safepath = "/bin:/sbin:/usr/bin:/usr/sbin:"
18 + "/run/wrappers/bin:/run/current-system/sw/bin:/run/current-system/sw/sbin:"
19 "/usr/local/bin:/usr/local/sbin";
20 const char *confpath = NULL;
21 char *shargv[] = { NULL, NULL };
22 --
23 2.26.2