mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-31 20:54:56 +00:00
Drop -static from the new crontab-access helper: Nix has no static libc by default and cannot install setuid binaries into the store. Also fix system crontab parsing for usernames starting with an underscore, which breaks the test suite on Darwin. https://git.savannah.gnu.org/cgit/mcron.git/log/?h=v1.2.3 Assisted-by: Claude Opus 4.8 Co-authored-by: Michael Daniels <mdaniels5757@gmail.com>
11 lines
491 B
Diff
11 lines
491 B
Diff
--- a/src/mcron/vixie-specification.scm
|
|
+++ b/src/mcron/vixie-specification.scm
|
|
@@ -67,7 +67,7 @@
|
|
|
|
(define parse-system-vixie-line-regexp
|
|
(make-regexp (string-append "^[[:space:]]*(([^[:space:]]+[[:space:]]+){5})"
|
|
- "([[:alpha:]][[:alnum:]_]*)[[:space:]]+(.*)$")))
|
|
+ "([[:alpha:]_][[:alnum:]_.-]*)[[:space:]]+(.*)$")))
|
|
|
|
(define (parse-system-vixie-line line)
|
|
(let ((match (regexp-exec parse-system-vixie-line-regexp line)))
|