mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
16 lines
519 B
Diff
16 lines
519 B
Diff
diff --git a/python/supervise_api/supervise.py b/python/supervise_api/supervise.py
|
|
index 497d3ea..be57e35 100644
|
|
--- a/python/supervise_api/supervise.py
|
|
+++ b/python/supervise_api/supervise.py
|
|
@@ -41,9 +41,7 @@ try:
|
|
except:
|
|
from whichcraft import which
|
|
|
|
-supervise_utility_location = which("supervise")
|
|
-if not supervise_utility_location:
|
|
- raise FileNotFoundError(errno.ENOENT, "Executable not found in PATH", "supervise")
|
|
+supervise_utility_location = '@supervise@/bin/supervise'
|
|
|
|
|
|
def ignore_sigchld():
|