Fix Tribes shepherd wiring and Elixir source fetch

This commit is contained in:
2026-03-30 19:30:23 +02:00
parent 7bba5c1e98
commit 504071dfd1
2 changed files with 12 additions and 9 deletions

View File

@@ -48,14 +48,15 @@
(version "1.19.5") (version "1.19.5")
(source (source
(origin (origin
(method git-fetch) (method url-fetch)
(uri (git-reference (uri (string-append
(url "https://github.com/elixir-lang/elixir") "https://github.com/elixir-lang/elixir/archive/refs/tags/v"
(commit (string-append "v" version)))) version
(file-name (git-file-name name version)) ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1i10a5d7mlcrav47k7qirqvrqn2kbl5265fbcp8fzavr86xz67m6")) "0dlflwcdx0da09grndgsj2c9k1ix7vq6vaxg4lgaq42bsy5hnx8h"))
(patches (search-patches "elixir-path-length.patch")))) (patches (search-patches "elixir-path-length.patch"))))
(inputs (inputs
`(("bash-minimal" ,bash-minimal) `(("bash-minimal" ,bash-minimal)

View File

@@ -247,6 +247,10 @@
(stop #~(make-kill-destructor)) (stop #~(make-kill-destructor))
(respawn? #f))))) (respawn? #f)))))
(define (tribes-root-shepherd-services config)
(append (tribes-migrations-shepherd-service config)
(tribes-shepherd-service config)))
(define (tribes-profile-packages config) (define (tribes-profile-packages config)
(match (tribes-configuration-package config) (match (tribes-configuration-package config)
(#f '()) (#f '())
@@ -261,9 +265,7 @@
(service-extension activation-service-type (service-extension activation-service-type
tribes-activation) tribes-activation)
(service-extension shepherd-root-service-type (service-extension shepherd-root-service-type
tribes-migrations-shepherd-service) tribes-root-shepherd-services)
(service-extension shepherd-root-service-type
tribes-shepherd-service)
(service-extension profile-service-type (service-extension profile-service-type
tribes-profile-packages))) tribes-profile-packages)))
(default-value (tribes-configuration)) (default-value (tribes-configuration))