linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / supervise_api / supervise-path.patch
blobc5538ddc26e267474e000f894e2b7c7cd2879587
1 diff --git a/python/supervise_api/supervise.py b/python/supervise_api/supervise.py
2 index 497d3ea..be57e35 100644
3 --- a/python/supervise_api/supervise.py
4 +++ b/python/supervise_api/supervise.py
5 @@ -41,9 +41,7 @@ try:
6 except:
7 from whichcraft import which
9 -supervise_utility_location = which("supervise")
10 -if not supervise_utility_location:
11 - raise FileNotFoundError(errno.ENOENT, "Executable not found in PATH", "supervise")
12 +supervise_utility_location = '@supervise@/bin/supervise'
15 def ignore_sigchld():